forked from irreducible-representations/irrep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
51 lines (47 loc) · 1.4 KB
/
setup.cfg
File metadata and controls
51 lines (47 loc) · 1.4 KB
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
[metadata]
version = attr: irrep.__version__
[flake8]
ignore = E123
# closing bracket does not match indentation of opening bracket's line
E126,
# continuation line over-indented for hanging indent
E201,
# whitespace after '['
E266,
# too many leading '#' for block comment
E741,
# ambiguous variable name
W504,
# line break after binary operator
E303,
# too many blamk lines
E731,
# do not assign a lambda expression, use a def - we like it in sym_wann
E721,
# do not compare types
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
W291
# trailing whitespace
W293
# blank line contains whitespace
W503,
# line break before binary operator
W605
# invalid escape sequence - does not allow to use LaTeX
exclude = .git, __pycache__, build, dist, .eggs, *.egg , .conda
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