@@ -11,7 +11,7 @@ classifiers = [
1111requires-python = " >=3.9"
1212dependencies = [
1313 " attrs>=21.3.0" ,
14- " click" ,
14+ " click>=8.1.8,!=8.2.0 " ,
1515 " cloudpickle" ,
1616 " loky" ,
1717 " pluggy>=1.0.0" ,
@@ -24,7 +24,7 @@ dynamic = ["version"]
2424name = " Tobias Raabe"
2525email = " raabe@posteo.de"
2626
27- [project . optional-dependencies ]
27+ [dependency-groups ]
2828coiled = [" coiled>=0.9.4" ]
2929dask = [" dask[complete]" , " distributed" ]
3030docs = [
@@ -34,13 +34,26 @@ docs = [
3434 " myst-parser" ,
3535 " nbsphinx" ,
3636 " sphinx" ,
37+ " sphinx-autobuild" ,
3738 " sphinx-click" ,
3839 " sphinx-copybutton" ,
3940 " sphinx-design>=0.3" ,
4041 " sphinx-toolbox" ,
4142 " sphinxext-opengraph" ,
4243]
43- test = [" pytask-parallel[coiled,dask]" , " nbmake" , " pytest" , " pytest-cov" ]
44+ test = [
45+ " nbmake" ,
46+ " pytest>=8.4.0" ,
47+ " pytest-cov>=5.0.0" ,
48+ {include-group = " coiled" },
49+ {include-group = " dask" },
50+ ]
51+ typing = [
52+ " pytask-parallel" ,
53+ " ty" ,
54+ {include-group = " coiled" },
55+ {include-group = " dask" },
56+ ]
4457
4558[project .readme ]
4659file = " README.md"
@@ -63,14 +76,6 @@ pytask_parallel = "pytask_parallel.plugin"
6376requires = [" hatchling" , " hatch_vcs" ]
6477build-backend = " hatchling.build"
6578
66- [tool .rye ]
67- managed = true
68- dev-dependencies = [" s3fs>=2024.3.1" , " tox-uv>=1.7.0" ]
69-
70- [tool .rye .scripts ]
71- clean-docs = { cmd = " rm -rf docs/build" }
72- build-docs = { cmd = " sphinx-build -b html docs/source docs/build" }
73-
7479[tool .hatch .build .hooks .vcs ]
7580version-file = " src/pytask_parallel/_version.py"
7681
@@ -88,24 +93,7 @@ source = "vcs"
8893[tool .hatch .metadata ]
8994allow-direct-references = true
9095
91- [tool .mypy ]
92- files = [" src" , " tests" ]
93- check_untyped_defs = true
94- disallow_any_generics = true
95- disallow_incomplete_defs = true
96- disallow_untyped_defs = true
97- no_implicit_optional = true
98- warn_redundant_casts = true
99- warn_unused_ignores = true
100- ignore_missing_imports = true
101-
102- [[tool .mypy .overrides ]]
103- module = " tests.*"
104- disallow_untyped_defs = false
105- ignore_errors = true
106-
10796[tool .ruff ]
108- target-version = " py39"
10997fix = true
11098unsafe-fixes = true
11199
@@ -132,13 +120,6 @@ convention = "numpy"
132120addopts = [" --nbmake" ]
133121# Do not add src since it messes with the loading of pytask-parallel as a plugin.
134122testpaths = [" tests" ]
135- markers = [
136- " wip: Tests that are work-in-progress." ,
137- " unit: Flag for unit tests which target mainly a single function." ,
138- " integration: Flag for integration tests which may comprise of multiple unit tests." ,
139- " end_to_end: Flag for tests that cover the whole program." ,
140- ]
141- norecursedirs = [" .idea" , " .tox" ]
142123
143124[tool .coverage .report ]
144125exclude_also = [
0 commit comments