-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpyproject.toml
More file actions
31 lines (28 loc) · 894 Bytes
/
pyproject.toml
File metadata and controls
31 lines (28 loc) · 894 Bytes
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
[build-system]
requires = ["setuptools>=60", "wheel", "setuptools_scm[toml]>=8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "pyspectral/version.py"
[tool.isort]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
profile = "black"
skip_gitignore = true
default_section = "THIRDPARTY"
known_first_party = "pyspectral"
line_length = 120
[tool.pytest]
minversion = "9.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
markers = [
"allow_downloads",
]
xfail_strict = true
log_cli_level = "info"
testpaths = ["pyspectral/tests"]
filterwarnings = [
# Uncomment once all warnings are removed so a warning is now a failure:
# "error",
"ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning",
# uncomment
# "ignore:invalid value encountered in:RuntimeWarning",
]