forked from getsentry/zeus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
35 lines (30 loc) · 880 Bytes
/
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
[tool:pytest]
python_files = test_*.py
addopts = --tb=short -p no:doctest
norecursedirs = build dist docs htmlcov node_modules webapp .* {args}
looponfailroots = zeus tests
selenium_driver = phantomjs
phantomjs_path = node_modules/phantomjs-prebuilt/bin/phantomjs
[flake8]
ignore = F999,E501,E128,E124,E402,W503,E731,C901
max-line-length = 100
exclude = .git,*/migrations/*,node_modules/*
[bdist_wheel]
python-tag = py36
[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 =
zeus/migrations/*
source =
zeus
tests