setup.cfg 893 B

12345678910111213141516171819202122232425262728
  1. [flake8]
  2. # File filtering is taken care of in pre-commit.
  3. # E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
  4. # B011 We don't use PYTHONOPTIMIZE.
  5. # XXX: E501 is ignored, which disables line length checking.
  6. # Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
  7. # We already have a lot of E501's - these are lines black didn't wrap.
  8. # But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
  9. extend-ignore = E203,E501,E402,E731,B007,B009,B010,B011,B020,B023
  10. per-file-ignores =
  11. # these scripts must have minimal dependencies so opt out of the usual sentry rules
  12. tools/*: S
  13. .github/*: S
  14. [flake8:local-plugins]
  15. paths = .
  16. extension =
  17. S=tools.flake8_plugin:SentryCheck
  18. [bdist_wheel]
  19. python-tag = py38
  20. [coverage:run]
  21. omit =
  22. src/sentry/migrations/*
  23. source = .