Skip to content

Commit

Permalink
Create .zenodo.json (#14)
Browse files Browse the repository at this point in the history
* Create .zenodo.json

* Fix lint

* Use ubuntu-24.04 in github actions
  • Loading branch information
GianlucaFicarelli authored Dec 4, 2024
1 parent 7e67afa commit da6b80c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-n-publish:
name: Build and publish on PyPI
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
include:
Expand Down
3 changes: 3 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"license": "Apache-2.0"
}
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,16 @@ line_length = 100
[tool.ruff]
line-length = 100
target-version = "py39"

[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
]

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.pytest.ini_options]
Expand Down
1 change: 1 addition & 0 deletions src/blueetl_core/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def add_conditions(
self,
conditions: Union[str, list[str]],
values: Any,
*,
inner: bool = False,
drop: bool = False,
dtypes: Any = None,
Expand Down
1 change: 1 addition & 0 deletions src/blueetl_core/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __call__(self, ctx: TaskContext) -> Any:

def run_parallel(
tasks: Iterable[Callable[[TaskContext], Any]],
*,
jobs: Optional[int] = None,
backend: Optional[str] = None,
verbose: Optional[int] = None,
Expand Down

0 comments on commit da6b80c

Please sign in to comment.