Skip to content

Commit bc65ae3

Browse files
[pre-commit.ci] pre-commit autoupdate (#1)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](pre-commit/pre-commit-hooks@v4.5.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.15.2](astral-sh/ruff-pre-commit@v0.3.4...v0.15.2) - [github.com/dosisod/refurb: v2.0.0 → v2.3.0](dosisod/refurb@v2.0.0...v2.3.0) - [github.com/executablebooks/mdformat: 0.7.17 → 1.0.0](hukkin/mdformat@0.7.17...1.0.0) - [github.com/codespell-project/codespell: v2.2.6 → v2.4.1](codespell-project/codespell@v2.2.6...v2.4.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Define extras used by tox environments --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <tobias.raabe@quantilope.com>
1 parent c6f9bfc commit bc65ae3

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v6.0.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=25']
@@ -23,16 +23,16 @@ repos:
2323
- id: python-use-type-annotations
2424
- id: text-unicode-replacement-char
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.3.4
26+
rev: v0.15.2
2727
hooks:
2828
- id: ruff
2929
- id: ruff-format
3030
- repo: https://github.com/dosisod/refurb
31-
rev: v2.0.0
31+
rev: v2.3.0
3232
hooks:
3333
- id: refurb
3434
- repo: https://github.com/executablebooks/mdformat
35-
rev: 0.7.17
35+
rev: 1.0.0
3636
hooks:
3737
- id: mdformat
3838
additional_dependencies: [
@@ -52,7 +52,7 @@ repos:
5252
# ]
5353
# args: [--wrap, "88"]
5454
- repo: https://github.com/codespell-project/codespell
55-
rev: v2.2.6
55+
rev: v2.4.1
5656
hooks:
5757
- id: codespell
5858
# - repo: https://github.com/pre-commit/mirrors-mypy

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ dependencies = [
1313
readme = "README.md"
1414
requires-python = ">= 3.8"
1515

16+
[project.optional-dependencies]
17+
coiled = [
18+
"coiled",
19+
]
20+
dask = [
21+
"dask[distributed]",
22+
]
23+
test = [
24+
"pytest",
25+
]
26+
1627
[build-system]
1728
requires = ["hatchling"]
1829
build-backend = "hatchling.build"

src/project/task_data_catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def task_create_data_catalog_node(
12-
node: Annotated[PickleNode, Product] = cast(PickleNode, data_catalog["first"]), # noqa: B008
12+
node: Annotated[PickleNode, Product] = cast("PickleNode", data_catalog["first"]), # noqa: B008
1313
) -> None:
1414
node.save("Hello,")
1515

0 commit comments

Comments
 (0)