-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.pylintrc
116 lines (86 loc) · 2.99 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[MASTER]
init-hook='import os, sys; sys.path.append(os.path.abspath(os.path.curdir))'
ignore=tests
load-plugins=
jobs=4
unsafe-load-any-extension=no
extension-pkg-whitelist=
[MESSAGES CONTROL]
# Only show warnings with the listed confidence levels. Leave empty to show
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
confidence=
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
#enable=
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=locally-disabled,too-few-public-methods,too-many-ancestors,useless-object-inheritance,useless-return,unnecessary-pass
[REPORTS]
output-format=text
reports=yes
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
#msg-template=
[LOGGING]
logging-modules=logging
[SIMILARITIES]
min-similarity-lines=8
ignore-comments=yes
ignore-imports=no
[FORMAT]
max-line-length=100
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
single-line-if-stmt=no
max-module-lines=1000
indent-string='\t'
[SPELLING]
spelling-dict=
spelling-ignore-words=
spelling-private-dict-file=
spelling-store-unknown-words=no
[VARIABLES]
init-import=no
dummy-variables-rgx=(_[a-zA-Z0-9_]*?$)
additional-builtins=
callbacks=cb_,_cb,handle_,get,post,put,patch,delete,options
redefining-builtins-modules=six.moves,future.builtins
[TYPECHECK]
ignore-mixin-members=yes
ignored-modules=flask_sqlalchemy,app.extensions.flask_sqlalchemy
ignored-classes=optparse.Values,thread._local,_thread._local
generated-members=fget,query,begin,add,merge,delete,commit,rollback
contextmanager-decorators=contextlib.contextmanager
[MISCELLANEOUS]
notes=FIXME,XXX,TODO
[BASIC]
good-names=i,j,k,ex,Run,_,log,api
bad-names=foo,bar,baz,toto,tutu,tata
[ELIF]
max-nested-blocks=5
[DESIGN]
max-args=5
ignored-argument-names=_.*
max-bool-expr=5
[IMPORTS]
deprecated-modules=optparse
import-graph=
ext-import-graph=
int-import-graph=
known-standard-library=
known-third-party=flask_restplus_patched
analyse-fallback-blocks=no
[CLASSES]
defining-attr-methods=__init__,__new__,setUp
valid-classmethod-first-arg=cls
valid-metaclass-classmethod-first-arg=mcs
exclude-protected=_asdict,_fields,_replace,_source,_make
[EXCEPTIONS]
overgeneral-exceptions=builtins.Exception