-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
138 lines (121 loc) · 3.18 KB
/
pyproject.toml
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[project]
name = "PyProBE-Data"
authors = [
{name = "Thomas Holland"},
]
dynamic = ["version"]
requires-python = ">=3.11,<3.13"
license = { file = "LICENSE" }
readme = {file = "README.md", content-type = "text/markdown"}
dependencies = [
"deprecated>=1.2.15",
"fastexcel>=0.12.0",
"ipykernel>=6.29.5",
"numpy>=2.2.1",
"plotly>=5.24.1",
"polars>=1.18.0",
"pydantic>=2.10.4",
"pyyaml>=6.0.2",
"ray>=2.40.0",
"scikit-learn>=1.6.0",
"streamlit>=1.41.1",
"sympy>=1.13.3",
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
[project.urls]
Homepage = "https://github.com/ImperialCollegeLondon/PyProBE"
Documentation = "https://imperialcollegelondon.github.io/PyProBE/"
Repository = "https://github.com/ImperialCollegeLondon/PyProBE"
Releases = "https://github.com/ImperialCollegeLondon/PyProBE/releases"
Changelog = "https://github.com/ImperialCollegeLondon/PyProBE/blob/main/CHANGELOG.md"
[project.optional-dependencies]
hvplot = [
"hvplot>=0.11.2",
]
seaborn = [
"seaborn>=0.13.2",
]
dev = [
"mypy>=1.14.1",
"pre-commit>=4.0.1",
"python-semantic-release>=9.15.2",
"nbmake>=1.5.5",
"pytest>=8.3.4",
"pytest-benchmark>=5.1.0",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"pytest-mypy>=0.10.3",
"types-deprecated>=1.2.15.20241117",
"types-pyyaml>=6.0.12.20241230",
"types-toml>=0.10.8.20240310",
"xlsxwriter>=3.2.0",
"ruff>=0.9.1",
]
docs = [
"autodoc-pydantic>=2.2.0",
"nbsphinx>=0.9.6",
"pydata-sphinx-theme>=0.16.1",
"sphinx>=8.1.3",
"sphinx-design>=0.6.1",
"sphinx-tabs>=3.4.7",
"sphinxcontrib-bibtex>=2.6.3",
]
[build-system]
requires = ["hatchling>=1.18.0"]
build-backend = "hatchling.build"
[tool.hatch.build]
packages = ["pyprobe"]
exclude = [
"htmlcov/*",
"tests/*",
"docs/*",
"examples/*"
]
[tool.hatch.version]
path = "pyprobe/_version.py"
[tool.semantic_release]
version_source = "tag"
version_variables = ["pyprobe/_version.py:__version__"]
changelog_file = false
branch = "main"
commit_version_number = false # disable auto commits
tag_commit = false # disable auto tagging
prerelease = true
upload_to_pypi = false # disable PyPI upload
upload_to_release = false # disable GitHub release creation
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.ruff.lint]
select = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"docs/source/examples/*" = ["D103"]
[tool.mypy]
disallow_any_explicit = false
disallow_any_generics = true
warn_unreachable = true
disallow_untyped_defs = true
ignore_missing_imports = true
exclude = [".venv/", "docs/"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
warn_unused_ignores = false
[[tool.mypy.overrides]]
module = "polars"
follow_imports = "skip"
[[tool.mypy.overrides]]
module = "deprecated.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-v --mypy -p no:warnings --cov=pyprobe --cov-report=html --doctest-modules --ignore=docs/ --ignore=pyprobe/"
[tool.coverage.report]
exclude_also = [
"@overload"
]