forked from project-gemmi/gemmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
18 lines (18 loc) · 761 Bytes
/
setup.cfg
File metadata and controls
18 lines (18 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[flake8]
max-line-length = 80
show_source = True
exclude = build
# for table alignment disable:
# E201 whitespace after '['
# E203 whitespace before ':'
# E231 missing whitespace after ','
# E241 multiple spaces after ','
# E265 comment should start with '# ' - we use just '#' for inactive code
# and sometimes less whitespace is more readable
# E226 missing whitespace around arithmetic operator
# E301 expected 1 blank line, found 0
# E302 expected 2 blank lines, found 1
# E305 expected 2 blank lines after class or function definition
# E306 expected 1 blank line before a nested definition
# W503 line break occurred before a binary operator (opposite to W504)
ignore = E201, E203, E226, E231, E241, E265, E301, E302, E305, E306, W503