@@ -41,23 +41,26 @@ exclude = .git,.tox,+junk,coverage,dist,doc,*egg,build,tools,test/unit,docs,*__i
41
41
42
42
# E221: Multiple spaces before operator
43
43
# E241: Multiple spaces after ',': Breaks element alignment collections
44
+ # E251: Spaces around '=' on parameter assignment
44
45
# E262: Inline comment should start with '# ': Breaks tagged comments (ie: '#TODO: ')
45
46
# E265: Block comment should start with '# ': ^
46
47
# E266: Too many leading '#' for block comment: Breaks declaring mega-blocks (ie: '### Section')
47
48
# E303: More than 2 consecutive newlines
48
49
# W292: No newline at end of file
49
50
# W391: Blank line at end of file (sometimes trigged instead of the above!?)
50
51
# F403: `from <module> import *` used; unable to detect undefined names ←– Probably should be fixed…
51
- ignore = E221,E241,E262,E265,E266,E303,W292,W391,F403
52
+ ignore = E221,E241,E251, E262,E265,E266,E303,W292,W391,F403
52
53
use-flake8-tabs = true
53
54
max-line-length = 100
54
55
tab-width = 4
55
56
56
57
# E701: Multiple statements on one line
57
- # - multipart.py: Lots of `yield from` polyfills using `for chunk in X: yield chunk`
58
- # - test_*.py: Aligning `assert … not in …` and `assert … in …` kind of statements
58
+ # - multipart.py: Lots of `yield from` polyfills using `for chunk in X: yield chunk`
59
+ # - requests_wrapper.py: Lots of symbols exported that we specifically don't use but that make sense in a reusable module
60
+ # - test_*.py: Aligning `assert … not in …` and `assert … in …` kind of statements
59
61
per-file-ignores =
60
62
./ipfshttpclient/multipart.py:E701
63
+ ./ipfshttpclient/requests_wrapper.py:E401,E402,F401
61
64
./test/functional/test_*.py:E272
62
65
63
66
[pytest]
0 commit comments