forked from cisocrgroup/ocrd_cis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pylintrc
50 lines (46 loc) · 1.31 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
[MASTER]
extension-pkg-whitelist = lxml, numpy, cv2
ignored-modules = Levenshtein
[TYPECHECK]
generated-members = cv2.*, matplotlib.cm.*, np.*, ocrd_cis.ocropy.ocrolib.lstm.LSTM.*
# generated-members still buggy with pylint 2.4.4, so:
ignored-classes = cv2, matplotlib.cm, np.*, ocrd_cis.ocropy.ocrolib.lstm.LSTM
[MESSAGES CONTROL]
# as we have legacy code in ocrolib which
# does not adhere to most if this, and
# pylint does not offer per-subdirectory
# configuration yet (#618), we must be
# overly tolerant here:
disable =
ungrouped-imports,
multiple-imports,
bad-continuation,
missing-docstring,
no-self-use,
superfluous-parens,
invalid-name,
line-too-long,
too-many-arguments,
too-many-branches,
too-many-statements,
too-many-locals,
too-few-public-methods,
too-many-instance-attributes,
wrong-import-order,
duplicate-code,
bad-whitespace,
unused-variable,
import-outside-toplevel,
wildcard-import,
unused-wildcard-import,
too-many-return-statements,
unidiomatic-typecheck,
multiple-statements,
no-else-return,
unnecessary-semicolon,
consider-using-dict-comprehension,
redefined-builtin
# allow indented whitespace (as required by interpreter):
no-space-check=empty-line
# allow non-snake-case identifiers:
good-names=n,i