forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
44 lines (39 loc) · 1.11 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tool:pytest]
python_files = test*.py
addopts = --tb=native -p no:doctest -p no:warnings
norecursedirs = bin dist docs htmlcov script hooks node_modules .* {args}
looponfailroots = src tests
selenium_driver = chrome
[flake8]
ignore = F999,E501,E128,E124,E402,W503,E731,C901
max-line-length = 100
exclude = .venv/.git,*/south_migrations/*,node_modules/*,src/sentry/static/sentry/vendor/*,docs/*,src/south/*,examples/*
[bdist_wheel]
python-tag = py27
[pep8]
max-line-length = 100
# W690 is wrong (e.g. it causes functools.reduce to be imported, which is not compat with Python 3)
# E700 isnt that important
# E701 isnt that important
# E711 could be incorrect
# E712 could be incorrect
# E721 says "always use isinstance" which is not the same as type()
ignore = W690,E701,E70,E711,E721
aggressive = 1
exclude = */south_migrations/*
[coverage:run]
omit =
src/sentry/south_migrations/*
src/sentry/migrations/*
source =
src
tests
[isort]
line_length=100
lines_between_sections=1
multi_line_output=5
known_first_party=sentry
default_section=THIRDPARTY
forced_separate=django.contrib,django.utils
indent=' '
skip=setup.py