Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (122 loc) · 3.39 KB
/
Copy pathpyproject.toml
File metadata and controls
135 lines (122 loc) · 3.39 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools>=61", "wheel", "packaging", "tomli;python_version<'3.11'", "setuptools_scm>8"]
build-backend = "setuptools.build_meta"
[project]
name = "imas-validator"
authors = [
{name = "ITER Organization"},
{email = "imas-support@iter.org"},
]
description = "Data validation for IMAS IDS data"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.7"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: Plugins",
"Framework :: Flake8",
"Framework :: Pytest",
"Framework :: Sphinx",
# Custom trove classifiers are not allowed, and newer versions of python setuptools will fail to build
# when classifiers other than those listed on: https://pypi.org/classifiers/ are included
# "Framework :: IMAS",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Unix Shell",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = [
"imas-python>=2.2.0",
"netCDF4>=1.4.1",
"h5py",
"numpy>=1.15.4",
"importlib_resources",
"rich",
"packaging",
"junit2html"
]
[project.optional-dependencies]
# these self-dependencies are available since pip 21.2
all = [
"imas-validator[docs,test,linting,benchmark]"
]
docs = [
"imas-python",
"sphinx>=6.0.0,<7.0.0",
"sphinx-autosummary-accessors>=0.1.2",
"sphinx_immaterial>=0.11.0,<0.12",
"recommonmark>=0.6",
]
test = [
"imas-python",
"pytest>=5.4.1",
"pytest-cov>=0.6",
"pytest-xdist",
"pytest-randomly",
]
linting = [
"black>=24,<25",
"flake8",
"mypy",
"isort",
]
benchmark = [
"asv==0.6.1",
"virtualenv",
]
[project.scripts]
imas_validator = "imas_validator.cli.imas_validator_cli:execute_cli"
[project.urls]
homepage = "https://github.com/iterorganization/IMAS-Validator"
[tool.setuptools.packages.find]
where = ["."]
include = ["imas_validator*"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
testpaths = "tests"
[tool.setuptools_scm]
write_to = "imas_validator/_version.py"
local_scheme = "no-local-version"
[tool.black]
# Exclude setuptools_scm generated file
force-exclude = "imas_validator/_version.py"
[tool.mypy]
packages = "imas_validator"
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
[[tool.mypy.overrides]]
module = [
"tests.*",
"imas_validator.assets.*",
]
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"imas.*",
"numpy.*",
"rich.*",
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
skip = ["imas_validator/_version.py"]