forked from wannier-berri/wannier-berri
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
25 lines (21 loc) · 888 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
[metadata]
version = attr: wannierberri.__version__
[flake8]
ignore = E126, E127, E129, E201, E202, E203, E211, E221, E222, E225, E226, \
E228, E231, E241, E261, E262, E265, E266, E301, E302, E303, E305, \
E306, E401, E402, E701, E731, E741, W391, W503, W504, C901, \
E501, \ # line too long
E272, \ # multiple spaces before keyword
E124, \ # closing bracket does not match visual indentation
E128, \ # continuation line under-indented for visual indent
W605 # invalid escape sequence - does not allow to use LaTeX
exclude = .git, __pycache__, build, dist, __init__.py .eggs, *.egg
max-line-length = 120
per-file-ignores = conftest.py:F401
[yapf]
based_on_style = pep8
column_limit = 120
indent_width = 4
split_before_logical_operator = true
split_before_first_argument = true
split_before_arithmetic_operator = true