setup.cfg 790 B

123456789101112131415161718192021
  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. # W605 false positive until python3.8: https://github.com/PyCQA/pycodestyle/issues/755
  5. # B011 We don't use PYTHONOPTIMIZE.
  6. ignore = F999,E203,E501,E128,E124,E402,W503,W504,W605,E731,C901,B007,B009,B010,B011
  7. # XXX: E501 is ignored, which disables line length checking.
  8. # Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
  9. # We already have a lot of E501's - these are lines black didn't wrap.
  10. # But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
  11. [bdist_wheel]
  12. python-tag = py36
  13. [coverage:run]
  14. omit =
  15. src/sentry/migrations/*
  16. source =
  17. src
  18. tests