-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpyproject.toml
47 lines (41 loc) · 1006 Bytes
/
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
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers"]
testpaths = ["tests"]
xfail_strict = true
minversion = "7"
markers = [ # can be skipped by doing `pytest -m "not slow"` etc.
"flaky: flaky tests",
"slow: slow tests",
]
filterwarnings = [
"error",
"default::DeprecationWarning",
"error::DeprecationWarning:pyglider",
]
[tool.ruff.lint]
select = [
"F", # pyflakes
"I", # isort
"E", # Error
# "D", # pydocstyle
# "B", # Bugbear
# "UP", # pyupgrade
# "LOG", # logging
# "ICN", # import conventions
# "G", # logging-format
# "RUF", # ruff
]
ignore = [
# TODO: Remove
"E402", # Module level import not at top of file
"F841", # Local variable `...` is assigned to but never used
"E722", # Do not use bare `except`
"E501", # Line too long (... > 88)
"E741", # Ambiguous variable name: `l`
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
known-first-party = ["pyglider"]