-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
31 lines (28 loc) · 1.29 KB
/
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
30
31
[pylama]
format = pylint
linters = pycodestyle,pydocstyle,pyflakes,pylint
ignore = R0902,R0903,R0904,R0912,R0913,R0914,R0916,W0603,W1203,C0413,E0401
# R0902: too many instance attributes (default: 8)
# R0903: class has too few public methods (default: 2)
# R0904: class has too many public methods (default: 20)
# R0912: function or method has too many logical branches (default: 12)
# R0913: function or method takes too many arguments (default: 5)
# R0914: function or method has too many local variables (default: 15)
# R0916: if-statement contains too many boolean expressions (default: 5)
# W0603: global statement used to update a global variable
# W1203: use lazy % formatting in logging functions
# C0413: requires imports at the top of the file
[pylama:pylint]
max_line_length = 99
good_names = i,j,k,v,t,m,s,n,x,y,ax,ex,fp,id,tx,fn,pi,wf,db,Run,_
[pylama:pycodestyle]
max_line_length = 99
ignore = E402,W503
# E402: module level imports should be at the top of the file
# W503: This warns about a line break before a binary operator. I've noticed this
# conflicting with the line length warning several times, especially with
# code using list comprehensions.
# E0401: ignoring imports since beeflow may not be installed when linting
[pylama:pydocstyle]
max_line_length = 99
ignore = D203,D213,D404