setup.cfg 961 B

1234567891011121314151617181920212223242526272829303132
  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. # W503: line break before binary operator (superseded by W504 line break after binary operator)
  10. # N806: Variable in function should be lowercase
  11. # E203: Whitespace before ':'
  12. # E501: Line too long
  13. ignore = D100,D101,D102,D103,D105,W503,N806,E203,E501
  14. exclude = wagtail/project_template/*,node_modules,venv,.venv
  15. max-line-length = 88
  16. [doc8]
  17. ignore = D001
  18. ignore-path = _build,docs/_build
  19. [isort]
  20. profile = black
  21. skip=migrations,project_template,node_modules,.git,__pycache__,LC_MESSAGES,venv,.venv,.tox
  22. blocked_extensions=rst,html,js,svg,txt,css,scss,png,snap,ts,tsx
  23. known_first_party=wagtail
  24. default_section=THIRDPARTY
  25. [tool:pytest]
  26. django_find_project = false
  27. python_files=test_*.py
  28. testpaths=wagtail