.flake8 692 B

1234567891011121314151617181920212223
  1. [flake8]
  2. max-line-length = 88
  3. extend-ignore =
  4. # Docstring formatting
  5. D100,D104,D401,D400,
  6. # Black compatibility
  7. E203,W503,E501,
  8. # Import order (handled by isort)
  9. I001,I003,I004,I005,
  10. # Long lines in comments and docstrings (let black handle)
  11. E501,
  12. # Line break before binary operator (black compatibility)
  13. W503,
  14. # Whitespace before ':' (black compatibility)
  15. E203
  16. exclude = .git,__pycache__,.venv,build,dist,*.egg-info
  17. import-order-style = google
  18. application-import-names = py_xiaozhi
  19. per-file-ignores =
  20. # Allow unused imports in __init__.py files
  21. __init__.py:F401,F403
  22. # Allow star imports in __init__.py files
  23. __init__.py:F405