2023-08-07 05:29:28 +08:00
|
|
|
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 160
|
|
|
|
target-version="py311"
|
2024-02-25 05:56:28 +08:00
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
|
|
|
|
ignore = ["W292", "E741", "E402", "C408", "ISC003"]
|
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]
|
2024-04-09 09:23:27 +08:00
|
|
|
addopts = "-n auto"
|