forked from mpytools/mplotutils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (36 loc) · 838 Bytes
/
pyproject.toml
File metadata and controls
44 lines (36 loc) · 838 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
32
33
34
35
36
37
38
39
40
41
42
43
44
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm>=7.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "999"
version_scheme = "no-guess-dev"
[tool.ruff]
# also check notebooks
extend-include = ["*.ipynb"]
target-version = "py310"
[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long - let the formatter worry about this
# E731: do not assign a lambda expression, use a def
ignore = [
"E402",
"E501",
"E731",
]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W", # warnings
"I", # isort
"UP", # Pyupgrade
]
[tool.ruff.lint.isort]
known-first-party = ["mplotutils"]
[tool.pytest.ini_options]
log_cli_level = "INFO"
filterwarnings = [
"ignore:numpy.ufunc size changed, may indicate binary incompatibility.:RuntimeWarning"
]