-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
99 lines (84 loc) · 2.04 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
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "pysmspp"
version = "0.0.1"
authors = [
{ name="Unipi developers", email="[email protected]" },
]
description = "Basic interface to interact with SMS++"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"pandas>=0.24",
"netcdf4",
"pathlib",
]
[project.urls]
Homepage = "https://github.com/SPSUnipi/pySMSpp"
Issues = "https://github.com/SPSUnipi/pySMSpp/issues"
[project.optional-dependencies]
dev = [
"pytest",
"coverage",
"pre-commit",
"ncompare",
"mypy",
]
docs=[
"numpydoc",
"sphinx",
"sphinx-book-theme",
"sphinx-rtd-theme",
"pydata-sphinx-theme",
"sphinx-reredirects",
"nbsphinx",
"nbsphinx-link",
"scikit-learn",
"ipython",
"ipykernel",
]
[tool.setuptools]
packages = ["pysmspp"]
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
[tool.setuptools.package-data]
"pysmspp" = ["py.typed"]
# Pytest settings
[tool.pytest.ini_options]
filterwarnings = [
"error::DeprecationWarning", # Raise all DeprecationWarnings as errors
"error::FutureWarning", # Raise all FutureWarnings as errors
]
# Coverage settings
[tool.coverage.run]
branch = true
source = ["pysmspp"]
omit = ["test/*"]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
]
# Static type checker settings
[tool.mypy]
exclude = ['dev/*', 'examples/*', 'doc/*']
ignore_missing_imports = true
no_implicit_optional = true
warn_unused_ignores = true
show_error_code_links = true
[[tool.mypy.overrides]]
module = "pysmspp.*"
disallow_untyped_defs = true
check_untyped_defs = true
# [tool.setuptools.dynamic]
# version = {attr = "pysmspp.__version__"}