pyproject.toml 476 B

123456789101112131415
  1. # https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
  2. [tool.ruff]
  3. line-length = 160
  4. target-version="py311"
  5. [tool.ruff.lint]
  6. select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
  7. ignore = ["W292", "E741", "E402", "C408", "ISC003"]
  8. flake8-implicit-str-concat.allow-multiline=false
  9. [tool.ruff.lint.flake8-tidy-imports.banned-api]
  10. "pytest.main".msg = "pytest.main requires special handling that is easy to mess up!"
  11. [tool.pytest.ini_options]
  12. addopts = "-n auto"