-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
106 lines (95 loc) · 2.31 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
[project]
name = "python_template"
version = "0.0.4"
description = ""
authors = [{ name = "Jeremie Gince", email = "gincejeremie@gmail.com" }]
requires-python = ">=3.10,<4"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
]
dependencies = [
"numpy (>=1.23,<3.0.0)",
"setuptools>=65.5.1",
"pythonbasictools>=0.0.3",
"psutil>=5.9.6",
"importlib-metadata (>=8.7.0,<9.0.0)",
]
dynamic = ["readme"]
[dependency-groups]
dev = [
"pytest-cov>=6.1.1,<7",
"pytest-json-report>=1.5.0,<2",
"pytest>=8.3.5,<9",
"docutils>=0.18.1,<0.20",
"mypy>=1.15.0,<2",
"black>=25.1.0,<26",
"nbmake>=1.5.5,<2",
"wheel>=0.45.1,<0.46",
"build>=1.2.2.post1,<2",
"twine>=6.1.0,<7",
"pytest-xdist>=3.7.0,<4",
"isort>=6.0.1,<7",
"pytest-timeout>=2.4.0",
]
docs = [
"sphinx>=6.2.1,<6.3.0",
"docutils>=0.18.1,<0.20",
"sphinx-rtd-theme>=3.0.2,<4",
"sphinxcontrib-bibtex>=2.5.0,<2.6.0",
"sphinx-theme~=1.0",
"groundwork-sphinx-theme>=1.1.1,<2",
"karma-sphinx-theme>=0.0.8,<0.0.9",
"sphinx-mdinclude>=0.6.2,<0.7",
]
[build-system]
requires = [
"setuptools>=57.0.0",
"wheel>=0.45.1,<0.46",
"build>=1.2.2.post1,<2",
"twine>=6.1.0,<7",
]
build-backend = "setuptools.build_meta"
[tool.uv]
package = true
default-groups = [
"dev",
"docs",
]
[tool.setuptools.dynamic]
readme = {file = "README.md", content-type = "text/markdown"}
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = [
".", "src",
]
[tool.coverage.report]
exclude_also = [
'def __repr__',
'if self.debug:',
'if settings.DEBUG',
'raise AssertionError',
'raise NotImplementedError',
'if __name__ == .__main__.:',
'if TYPE_CHECKING:',
'@(abc\.)?abstractmethod',
]
[[tool.mypy.overrides]]
module = [
"pythonbasictools",
]
ignore_missing_imports = true
[tool.black]
line-length = 120
[tool.isort]
profile = "black"