|
1 | 1 | [build-system]
|
2 |
| -requires = ["flit_scm"] |
3 |
| -build-backend = "flit_scm:buildapi" |
| 2 | +requires = ["hatchling", "hatch-vcs"] |
| 3 | +build-backend = "hatchling.build" |
4 | 4 |
|
5 | 5 | [project]
|
6 |
| -name = "pydra-tasks-TODO" |
7 |
| -description = "Description for pydra-tasks-TODO" |
| 6 | +name = "pydra-tasks-CHANGEME" |
| 7 | +description = "Pydra tasks package for CHANGEME" |
8 | 8 | readme = "README.md"
|
9 |
| -requires-python = ">=3.7" |
10 |
| -dependencies = ["pydra >=0.20"] |
| 9 | +requires-python = ">=3.8" |
| 10 | +dependencies = ["pydra >=0.22"] |
11 | 11 | license = {file = "LICENSE"}
|
12 | 12 | authors = [{ name = "Nipype developers", email = "[email protected]"}]
|
13 | 13 | maintainers = [{ name = "Nipype developers", email = "[email protected]"}]
|
@@ -46,16 +46,28 @@ test = [
|
46 | 46 | "codecov",
|
47 | 47 | ]
|
48 | 48 |
|
49 |
| -[tool.flit.module] |
50 |
| -name = "pydra.tasks.TODO" |
| 49 | +[tool.hatch.version] |
| 50 | +source = "vcs" |
51 | 51 |
|
52 |
| -[tool.flit.sdist] |
53 |
| -exclude = [".gitignore"] |
| 52 | +[tool.hatch.build.hooks.vcs] |
| 53 | +version-file = "pydra/tasks/CHANGEME/_version.py" |
54 | 54 |
|
55 |
| -[tool.setuptools_scm] |
56 |
| -write_to = "pydra/tasks/TODO/_version.py" |
| 55 | +[tool.hatch.build.targets.wheel] |
| 56 | +packages = ["pydra"] |
| 57 | +include-only = ["pydra/tasks/CHANGEME"] |
57 | 58 |
|
58 | 59 | [tool.black]
|
59 |
| -line-length = 99 |
60 |
| -target-version = ["py37"] |
| 60 | +target-version = ["py38"] |
61 | 61 | exclude = "_version.py"
|
| 62 | + |
| 63 | +[tool.codespell] |
| 64 | +ignore-words = ".codespell-ignorewords" |
| 65 | + |
| 66 | +[tool.flake8] |
| 67 | +doctests = true |
| 68 | +per-file-ignores = [ |
| 69 | + "__init__.py:F401" |
| 70 | +] |
| 71 | +max-line-length = 88 |
| 72 | +select = "C,E,F,W,B,B950" |
| 73 | +extend-ignore = ['E203', 'E501', 'E129', 'W503'] |
0 commit comments