-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
47 lines (39 loc) · 1.45 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[bdist_wheel]
universal = 1
[flake8]
ignore = W504,D105,F821
docstring-convention = numpy
[pydocstyle]
convention = numpy
match = (?!_).*\.py
add_ignore = D105
[pylint.]
fail-under = 9.97
max-module-lines = 1500
# :too-many-instance-attributes (R0902): *Too many instance attributes (%s/%s)*
# Used when class has too many instance attributes, try to reduce this to get a
# simpler (and so easier to use) class.
#:too-few-public-methods (R0903): *Too few public methods (%s/%s)*
# Used when class has too few public methods, so be sure it's really worth it.
#:too-many-public-methods (R0904): *Too many public methods (%s/%s)*
# Used when class has too many public methods, try to reduce this to get a
# simpler (and so easier to use) class.
# :too-many-arguments (R0913): *Too many arguments (%s/%s)*
# Used when a function or method takes too many arguments.
# :too-many-locals (R0914): *Too many local variables (%s/%s)*
# Used when a function or method has too many local variables.
# :redefined-outer-name (W0621): *Redefining name %r from outer scope (line %s)*
# Used when a variable's name hides a name defined in the outer scope.
disable = R0902,R0903,R0904,R0913,R0914,W0621,W0511
good-names = a,b,c,i,j,k,r,s,t,u,v,w,x,y,z,ex,Run,fs,id,_,av,fc
[mypy]
ignore_missing_imports = True
[aliases]
# Define setup.py command aliases here
test = pytest
[tool:pytest]
collect_ignore = ['setup.py']
[coverage:run]
branch = True
[coverage:report]
skip_covered = True