forked from mleinart/graphite-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
81 lines (78 loc) · 2.35 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[bdist_rpm]
requires = Django => 1.8
django-tagging
carbon
whisper
ceres
mod_wsgi
pycairo
pycairo-devel
python-hashlib
pytz
pyparsing
scandir;python_version<"3.5"
post_install = distro/redhat/misc/postinstall
provides = graphite
obsoletes = graphite <= 0.9.9
[flake8]
exclude = .tox
# ignore 4-space-indent rules for biggest files with most lines to change
per-file-ignores =
webapp/graphite/util.py:E111,E114
webapp/graphite/browser/views.py:E111,E114
webapp/graphite/metrics/views.py:E111,E114
webapp/graphite/dashboard/views.py:E111,E114
webapp/graphite/render/evaluator.py:E111,E114
webapp/graphite/render/functions.py:E111,E114
webapp/graphite/render/datalib.py:E111,E114
webapp/graphite/render/glyph.py:E111,E114
webapp/graphite/render/views.py:E111,E114
webapp/tests/test_tags.py:E111,E114
webapp/tests/test_storage.py:E111,E114
webapp/tests/test_render_glyph.py:E111,E114
webapp/tests/test_render_datalib.py:E111,E114
webapp/tests/test_finders_remote.py:E111,E114
contrib/memcache_whisper.py:E111,E114
ignore =
# E121 continuation line under-indented for hanging indent
E121,
# E126 continuation line over-indented for hanging indent
E126,
# E128 continuation line under-indented for visual indent
E128,
# E201 whitespace after '('
E201,
# E202 whitespace before ')'
E202,
# E203 whitespace before ':'
E203,
# E221 multiple spaces before operator
E221,
# E222 multiple spaces after operator
E222,
# E225 missing whitespace around operator
E225,
# E226 missing whitespace around arithmetic operator
E226,
# E231 missing whitespace after ','
E231,
# E241 multiple spaces after ':'
E241,
# E251 unexpected spaces around keyword / parameter equals
E251,
# E261 at least two spaces before inline comment
E261,
# E262 inline comment should start with '# '
E262,
# E265 block comment should start with '# '
E265,
# E266 too many leading '#' for block comment
E266,
# E501 line too long
E501,
# W504 line break after binary operator
W504,
# E701 multiple statements on one line (colon)
E701,
# E731 do not assign a lambda expression, use a def
E731,