-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (102 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
118 lines (102 loc) · 2.37 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
[project]
name = "PythonBasicTools"
version = "0.0.3"
dynamic = ["readme"]
description = "Python Basic Tools"
authors = [
{ name="Jérémie Gince", email="gincejeremie@gmail.com" },
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"numpy (>=1.23,<3.0.0)",
"setuptools>=65.5.1",
"psutil>=5.9.6",
"importlib-metadata (>=8.7.0,<9.0.0)",
"tqdm>=4.62.3",
"pandas>=1.3.3",
]
[tool.pytest.ini_options]
pythonpath = [
".", "src",
]
[build-system]
requires = [
"psutil",
"setuptools",
"tqdm",
"docutils",
"pytest",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
readme = {file = ["README.md"]}
[project.urls]
homepage = "https://jeremiegince.github.io/PythonBasicTools/"
Documentation = "https://jeremiegince.github.io/PythonBasicTools/"
Source = "https://github.com/JeremieGince/PythonBasicTools"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.poetry]
package-mode = true
packages = [{include = "pythonbasictools", from="src"}]
[tool.poetry.group.dev.dependencies]
pytest-cov = "^6.1.1"
pytest-json-report = "^1.5.0"
pytest = "^8.3.5"
docutils = ">=0.18.1,<0.20"
mypy = "^1.15.0"
black = "^25.1.0"
nbmake = "^1.5.5"
wheel = "^0.45.1"
build = "^1.2.2.post1"
twine = "^6.1.0"
pytest-xdist = "^3.7.0"
isort = "^6.0.1"
[tool.poetry.group.docs.dependencies]
sphinx = ">=6.2.1,<6.3.0"
docutils = ">=0.18.1,<0.20"
sphinx-rtd-theme = "^3.0.2"
sphinxcontrib-bibtex = ">=2.5.0,<2.6.0"
sphinx-theme = "^1.0"
groundwork-sphinx-theme = "^1.1.1"
karma-sphinx-theme = "^0.0.8"
sphinx-mdinclude = "^0.6.2"
[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 = [
"tqdm",
"requests",
"pandas",
"tensorflow",
"psutil",
"docutils",
"docutils.nodes",
"paramiko",
"docutils.core",
"torch",
"sklearn",
]
ignore_missing_imports = true
[tool.black]
line-length = 120
[tool.isort]
profile = "black"