forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
21 lines (18 loc) · 790 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[flake8]
# File filtering is taken care of in pre-commit.
# E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
# W605 false positive until python3.8: https://github.com/PyCQA/pycodestyle/issues/755
# B011 We don't use PYTHONOPTIMIZE.
ignore = F999,E203,E501,E128,E124,E402,W503,W504,W605,E731,C901,B007,B009,B010,B011
# XXX: E501 is ignored, which disables line length checking.
# Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
# We already have a lot of E501's - these are lines black didn't wrap.
# But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
[bdist_wheel]
python-tag = py36
[coverage:run]
omit =
src/sentry/migrations/*
source =
src
tests