2
0

ruff.toml 668 B

1234567891011121314151617181920
  1. # D100: Missing docstring in public module
  2. # D101: Missing docstring in public class
  3. # D102: Missing docstring in public method
  4. # D103: Missing docstring in public function
  5. # D105: Missing docstring in magic method
  6. # N806: Variable in function should be lowercase
  7. # E501: Line too long
  8. ignore = ["D100","D101","D102","D103","D105","N806","E501"]
  9. exclude = ["wagtail/project_template/*","node_modules","venv",".venv","migrations"]
  10. line-length = 88
  11. target-version = "py38" # minimum target version
  12. # E: pycodestyle errors
  13. # F: Pyflakes
  14. # I: isort
  15. # T20: flake8-print
  16. # BLE: flake8-blind-except
  17. # C4: flake8-comprehensions
  18. select = ["E", "F", "I", "T20", "BLE", "C4"]