2023-08-07 05:29:28 +08:00
|
|
|
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
|
|
|
[tool.ruff]
|
2023-08-15 03:52:02 +08:00
|
|
|
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
|
|
|
|
ignore = ["W292", "E741", "E402", "C408", "ISC003"]
|
2023-08-07 05:29:28 +08:00
|
|
|
line-length = 160
|
|
|
|
target-version="py311"
|
2023-08-15 03:52:02 +08:00
|
|
|
flake8-implicit-str-concat.allow-multiline=false
|
2024-02-14 08:48:17 +08:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
# FIXME: pytest 8.0.0 now collects all files, stop pytest-cpp from running these
|
2024-02-14 08:57:45 +08:00
|
|
|
# the `not Base` filter is needed due to a bug in pytest w/ unittest: https://github.com/pytest-dev/pytest/issues/11552
|
2024-02-14 09:27:19 +08:00
|
|
|
addopts = "--ignore=test.sh -n auto -k 'not Base'"
|