-
Notifications
You must be signed in to change notification settings - Fork 49
/
.pylintrc
39 lines (23 loc) · 1.27 KB
/
.pylintrc
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
[BASIC]
variable-rgx=[a-z0-9_]{1,30}$
good-names=ap,ar,ax,b,d,f,g,gt,h,i,im,lr,n,p,r,s,t,t1,t2,th,v,vs,w,wh,x,x1,x2,xs,y,ys,xy
[IMPORTS]
allow-any-import-level=pycocotools,pycocotools.coco
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=15
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=yes
[TYPECHECK]
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=numpy.*,torch.*,cv2.*,openpifpaf.functional.*
ignored-modules=openpifpaf.functional,pycocotools
# for pytorch: not-callable
# for pytorch 1.6.0: abstract-method
disable=missing-docstring,too-many-arguments,too-many-instance-attributes,too-many-locals,too-few-public-methods,not-callable,abstract-method,invalid-name,unused-variable,unused-import,superfluous-parens,line-too-long,wrong-import-order,too-many-nested-blocks,too-many-branches,too-many-statements,multiple-statements,bad-indentation,unnecessary-semicolon,consider-using-enumerate,unused-argument,len-as-condition,import-outside-toplevel,too-many-lines