-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
81 lines (66 loc) · 1.63 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "smspy"
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",
"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/SMSpy"
Issues = "https://github.com/SPSUnipi/SMSpy/issues"
[project.optional-dependencies]
dev = [
"pytest",
"coverage",
"pre-commit",
"ncompare",
"mypy",
]
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
[tool.setuptools.packages.find]
include = ["smspy"]
[tool.setuptools.package-data]
"smspy" = ["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 = ["smspy"]
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 = "smspy.*"
disallow_untyped_defs = true
check_untyped_defs = true