forked from scikit-hep/mplhep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (38 loc) · 1.12 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
[build-system]
# Minimum requirements for the build system (setup.py) to execute.
requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4",]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/mplhep/_version.py"
[tool.nbqa.mutate]
pyupgrade = 1
[tool.nbqa.addopts]
pyupgrade = ["--py37-plus"]
[tools.mypy]
files = ["src"]
python_version = 3.7
warn_unused_configs = true
allow_redefinition = true
# disallow_any_generics = true
# disallow_subclassing_any = true
# disallow_untyped_calls = true
# disallow_untyped_defs = true
# disallow_incomplete_defs = true
check_untyped_defs = true
# disallow_untyped_decorators = true
# no_implicit_optional = true
# warn_redundant_casts = true
# warn_unused_ignores = true
# warn_return_any = true
# no_implicit_reexport = true
# strict_equality = true
[[tool.mypy.overrides]]
module = ["matplotlib.*", "cycler", "scipy.*", "mpl_toolkits.*", "mplhep_data"]
ignore_missing_imports = true
# Additional configuration is in matplotlib/testing/conftest.py.
[tool.pytest.ini_config]
minversion = 6.0
testpaths = ["tests"]
python_files = "test*.py"
[tool.isort]
profile = "black"