-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (107 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
122 lines (107 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cookiecutter_pytask_plugin"
version = "1.0.0"
description = "A minimal template for plugins for pytask."
requires-python = ">=3.10"
dependencies = ["cookiecutter"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
]
[[project.authors]]
name = "Tobias Raabe"
email = "raabe@posteo.de"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "MIT"
[project.urls]
Changelog = "https://cookiecutter-pytask-plugin.readthedocs.io/en/latest/changes.html"
Documentation = "https://cookiecutter-pytask-plugin.readthedocs.io/en/latest"
Github = "https://github.com/pytask-dev/cookiecutter-pytask-plugin"
Tracker = "https://github.com/pytask-dev/cookiecutter-pytask-plugin/issues"
[dependency-groups]
docs = [
"furo",
"ipython",
"myst-parser",
"nbsphinx",
"sphinx",
"sphinx-autoapi",
"sphinx-click",
"sphinx-copybutton",
"sphinx-panels",
"sphinxext-opengraph",
]
test = [
"cookiecutter",
"pytest",
"pytest-cookies",
"pytest-cov",
"pytest-xdist",
]
typing = ["ty>=0.0.28"]
[tool.hatch.build.targets.wheel]
only-include = ["cookiecutter.json", "hooks", "{{cookiecutter.package_name}}"]
[tool.hatch.build.targets.sdist]
only-include = ["cookiecutter.json", "hooks", "{{cookiecutter.package_name}}"]
[tool.ruff]
fix = true
unsafe-fixes = true
[tool.ruff.lint]
select = ["ALL"]
extend-ignore = [
"D107",
"D203",
"D212",
"D213",
"D402",
"D413",
"D415",
"D416",
"D417",
"D404",
"RET504",
"S101",
"B905",
"FBT",
"EM",
"ANN401",
"PD",
"COM812",
"ISC001",
]
[tool.ruff.lint.per-file-ignores]
"hooks/post_gen_project.py" = ["PLR0133", "S603"]
"hooks/*" = ["INP001"]
"tests/*" = ["D", "ANN"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ty.src]
include = ["hooks", "tests"]
[tool.ty.terminal]
error-on-warning = true
[tool.pytest.ini_options]
addopts = ["--doctest-modules"]
filterwarnings = [
"ignore: the imp module is deprecated in favour of importlib",
"ignore: Using or importing the ABCs from 'collections' instead of from",
"ignore: The (parser|symbol) module is deprecated and will be removed in future",
]
markers = [
"wip: Tests that are work-in-progress.",
"unit: Flag for unit tests which target mainly a single function.",
"integration: Flag for integration tests which may comprise of multiple unit tests.",
"end_to_end: Flag for tests that cover the whole program.",
]
norecursedirs = [".idea"]