forked from fetchai/colearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
74 lines (69 loc) · 2.42 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[MASTER]
ignore-patterns=serialization.py,message.py,__main__.py,.*_pb2.py,launch.py,transaction.py
[MESSAGES CONTROL]
disable=C0103,C0201,C0330,C0301,C0302,W1202,W1203,W0511,W0107,W0105,W0621,W0235,W0613,W0221,
R0902,R0913,R0914,R1720,R1705,R0801,R0904,R0903,R0911,R0912,R0901,R1704,R0916,R1702,
R0915,R1710,R1703,R0401,C0114,C0115,C0116
ENABLED:
# W0703: broad-except
# W0212: protected-access
# W0706: try-except-raise
# W0108: unnecessary-lambda
# W0622: redefined-builtin
# W0163: unused-argument
# W0201: attribute-defined-outside-init
# W0222: signature-differs
# W0223: abstract-method
# W0611: unused-import
# W0612: unused-variable
# W1505: deprecated-method
# W0106: expression-not-assigned
# R0201: no-self-use
# R0205: useless-object-inheritance
# R1723: no-else-break
# R1721: unnecessary-comprehension
# R1718: consider-using-set-comprehension
# R1716: chained-comparison
# R1714: consider-using-in
# R0123: literal-comparison
# R1711: useless-return
# R1722: consider-using-sys-exit
## Resolve these:
# R0401: cyclic-import
# W0221: arguments-differ
# R0902: too-many-instance-attributes
# R0913: too-many-arguments
# R0914: too-many-locals
# R1720: no-else-raise
# R1705: no-else-return
# R0904: too-many-public-methods
# R0903: too-few-public-methods
# R0911: too-many-return-statements
# R0912: too-many-branches
# R0901: too-many-ancestors
# R1704: redefined-argument-from-local
# R0916: too-many-boolean-expressions
# R1702: too-many-nested-blocks
# R0915: too-many-statements
# R1710: inconsistent-return-statements
# R1703: simplifiable-if-statement
## Keep the following:
# C0103: invalid-name
# C0201: consider-iterating-dictionary
# C0330: Wrong haning indentation
# http://pylint-messages.wikidot.com/messages:c0301 > Line too long (%s/%s)
# http://pylint-messages.wikidot.com/messages:c0302 > Too many lines in module (%s)
# W1202: logging-format-interpolation
# W1203: logging-fstring-interpolation
# W0511: fixme
# W0107: unnecessary-pass
# W0105: pointless-string-statement
# W0621: redefined-outer-name
# W0235: useless-super-delegation
# R0801: similar lines
[IMPORTS]
ignored-modules=aiohttp,defusedxml,imgaug,google,gym,fetch,librosa,matplotlib,
memory_profiler,numpy,oef,opacus,
openapi_core,pandas,PIL,psutil,pydantic,pytest,tensorflow,tensorflow_datasets,tensorflow_core,
tensorflow_privacy,temper,torch,torchvision,torchsummary,tqdm,typing_extensions,
scipy,skimage,sklearn,vyper,web3,click,grpc,prometheus_client