-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.cfg
71 lines (57 loc) · 1.94 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
[flake8]
# References:
# http://flake8.readthedocs.org/en/latest/config.html
# http://flake8.readthedocs.org/en/latest/warnings.html#error-codes
#
# Style checks turned on:
# F - all pyflake errors
# E101 - indentation contains mixed spaces and tabs
# E111 - indentation is not a multiple of four
# E501 - line too long (see max-line-length)
# ignores:
# W291 trailing whitespace
# W293 blanc line contains whitespace
#
# E124 closing bracket does not match visual indentation
# E127 continuation line over-indented for visual indent
# E203 whitespace before ':'
# E225 missing whitespace around operator
# E226 missing whitespace around arithmetic operator
# E265 block comment should start with '# '
# E301 expected 1 blank line, found 0
# E302 expected 2 blank lines, found 1
# E303 too many blank lines
# E402 module level import not at top of file
# E266 too many leading '#' for block comment
# E731 do not assign a lambda expression, use a def
# E128 continuation line under-indented for visual indent
exclude: test_*.py,exp/*,docs/*,build/*,dist/*
ignore: W291,W293,E123,W504,E124,E126,E127,E203,E225,E226,E265,E301,E302,E303,E402,
E266,E731,E128,E306,E305,I,D,T,CG,N8,S1
max-line-length: 88
[coverage:report]
omit =
setup.py
# Do not cover test files themselves
*/test_*.py
exclude_lines =
# Remember that these are reg exp
# Have to re-enable the standard pragma
pragma: no cover
raise AssertionError
raise NotImplementedError
raise JSError
# Code that will not run on Py
class HasSignalsJS:
class JS:
# Don't complain if non-runnable code isn't run:
if 0:
if False:
if __name__ == .__main__.:
if this_is_js():
# Don't complain for platform specific code
sys\.platform.startswith\(\'win\'\)
sys\.platform.startswith\(\'darwin\'\)
getattr\(sys, \'frozen\'\,\ None\)
# Don't complain about caught import fails
except ImportError: