forked from openvinotoolkit/nncf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
40 lines (36 loc) · 1.08 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
40
[MASTER]
disable = arguments-differ,
cell-var-from-loop,
fixme,
global-statement,
invalid-name,
logging-format-interpolation,
missing-docstring,
no-self-use,
not-callable,
too-few-public-methods,
too-many-arguments,
too-many-instance-attributes,
too-many-locals,
unbalanced-tuple-unpacking,
ungrouped-imports,
unpacking-non-sequence,
unused-argument,
wrong-import-order,
attribute-defined-outside-init,
import-outside-toplevel,
duplicate-code
max-line-length = 120
ignore-docstrings = yes
ignored-modules = numpy,torch,cv2,openvino,tensorflow
extension-pkg-whitelist = torch,cv2
init-hook='import sys; sys.setrecursionlimit(8 * sys.getrecursionlimit())' # to avoid https://stackoverflow.com/questions/36496192/pylint-infinite-recursion-in-astriod-package
[SIMILARITIES]
ignore-imports = yes
[BASIC]
bad-functions = print
good-names = logger,fn
[DESIGN]
max-statements=60
max-branches=13
max-parents=9