-
Notifications
You must be signed in to change notification settings - Fork 62
/
.pylintrc
74 lines (70 loc) · 1.96 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
# Copyright 2019-2020 Toyota Research Institute. All rights reserved.
[MAIN]
load-plugins=pylint.extensions.docparams
[MASTER]
accept-no-param-doc=no
accept-no-return-doc=yes
accept-no-yields-doc=yes
# Ignore files generated by the protocol buffer compiler.
ignore-patterns=.*pb2.*
[REPORTS]
reports=no
# Make errors emacs-compatible
msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'
[TYPECHECK]
ignored-classes=
PurePath
[MESSAGES CONTROL]
disable=
# We do not want lazy logging, as error during lazy logging are caught and
# ignored. Not a good recipe for reliable logging.
logging-not-lazy,
# also allow .format in logging calls
logging-format-interpolation,
# Do not enforce "refactor" rules
R,
C, duplicate-code,
# Temporary disable complexity checks.
too-many-instance-attributes, too-many-branches, too-many-statements,
too-many-arguments, too-many-locals,
# Do not complain on fixme/TODO's
fixme,
# Do not complain if we locally disabled a rule
locally-disabled,
# We do not care if we have too few public methods.
too-few-public-methods,
# We do not care if overridden methods use different arguments.
arguments-differ,
# Since this doesn't check control-flow, it has lots of false positives.
invalid-unary-operand-type,
not-callable,
no-member,
protected-access,
attribute-defined-outside-init,
global-statement,
W0123,
W1401,
# allow multiple arguments for string formatting
E1305,
# bypass import error in setup.py
E0401,
E0611,
# suppress Lambda warnings
W0108,
# allow un-implemented abstract method in sub-classes
W0223,
# allow explicit return in __init__
E0101,
# allow catching general exceptions
W0703,
# allow lazy % or .format() or % formatting in logging functions
W1203,
#Exceptions for pytest compatibility, unique to tests folder
##@scope='/tests'
W0613,
W0611,
W0612,
W0621,
E0102,
W0612
##@scope