forked from NPBentley/CASTEP_bands
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
29 lines (24 loc) · 1001 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
26
27
28
29
[flake8]
max-line-length = 144
# E225, E226, E231, E251, E293 - Whitespace around arithmetic operators and other bits
# E262, E265 - comment whitespace
# E301, E302, E303 - Ignore white space errors except with regards to functions
# E501 - Line length warning
extend-ignore = E225, E226, E231, E251, E293, E262, E265, E301, E302, E303, E501, W605
exclude = build, dist
[pylint.MASTER]
load-plugins=
[pylint.FORMAT]
max-line-length = 144
[pylint.BASIC]
# Good variable names, which should always be accepted
good-names=i,j,k,x,y,z,n,nx,ny,nz,a,b,c,ik,ib
[pylint.DESIGN]
# Maximum number of arguments for function / method.
max-args=10
# Maximum number of boolean expressions in an if statement (see R0916).
max-bool-expr=7
# Maximum number of branch for function / method body.
max-branches=15
[pylint]
disable=anomalous-backslash-in-string,anomalous-unicode-escape-in-string,too-many-lines,too-many-locals,too-many-statements,consider-using-f-string,consider-using-enumerate,consider-using-with