setup.cfg 971 B

12345678910111213141516171819202122232425262728293031323334
  1. [bdist_wheel]
  2. python-tag = py3
  3. [flake8]
  4. # D100: Missing docstring in public module
  5. # D101: Missing docstring in public class
  6. # D102: Missing docstring in public method
  7. # D103: Missing docstring in public function
  8. # D105: Missing docstring in magic method
  9. # E501: Line too long
  10. # W503: line break before binary operator (superseded by W504 line break after binary operator)
  11. # N806: Variable in function should be lowercase
  12. ignore = D100,D101,D102,D103,D105,E501,W503,N806
  13. exclude = wagtail/project_template/*,node_modules,venv
  14. max-line-length = 120
  15. [doc8]
  16. ignore = D001
  17. ignore-path = _build,docs/_build
  18. [isort]
  19. line_length=100
  20. multi_line_output=4
  21. skip=migrations,project_template,node_modules,.git,__pycache__,LC_MESSAGES,venv
  22. blocked_extensions=rst,html,js,svg,txt,css,scss,png,snap,tsx
  23. known_first_party=wagtail
  24. default_section=THIRDPARTY
  25. lines_between_types=1
  26. lines_after_imports=2
  27. [tool:pytest]
  28. django_find_project = false
  29. python_files=test_*.py
  30. testpaths=wagtail