forked from joennlae/halutmatmul
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pylintrc
More file actions
77 lines (59 loc) · 2 KB
/
.pylintrc
File metadata and controls
77 lines (59 loc) · 2 KB
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
[MASTER]
# Use multiple processes to speed up Pylint.
jobs=4
ignore-paths=^maddness/python/joblib/.*$,
^src/python/results/*$,
^src/python/runs/*$,
ignore-patterns=.*\.json,.*\.pth,.*\.core,.*\.sh,.*\.log,.*\.txt,.*\.npy,.*\.png,.*\.csv
# init-hook='import sys; sys.path.append("./maddness/python/")'
[FORMAT]
max-line-length=100
[MESSAGES CONTROL]
# Tests
enable=bad-indentation, # Used when an unexpected number of indentation’s tabulations or spaces has been found.
unnecessary-semicolon, # Used when a statement is ended by a semi-colon (”;”), which isn’t necessary.
unused-variable # Used when a variable is defined but not used. (Use _var to ignore var).
disable=import-error,
missing-module-docstring,
invalid-name,
missing-function-docstring,
redefined-outer-name,
missing-class-docstring,
too-many-locals,
too-few-public-methods,
unused-import,
pointless-string-statement,
too-many-statements,
too-many-arguments,
no-name-in-module,
fixme,
too-many-branches,
multiple-imports,
duplicate-code,
inconsistent-return-statements,
consider-using-min-builtin,
too-many-instance-attributes,
consider-using-f-string,
no-else-return,
no-else-raise,
unspecified-encoding,
broad-except,
redefined-builtin,
trailing-newlines,
dangerous-default-value,
too-many-lines
[REPORTS]
# Tells whether to display a full report or only the messages
reports=no
# Activate the evaluation score.
score=no
[EXCEPTIONS]
# Exceptions that will emit a warning when being caught.
overgeneral-exceptions=Exception
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=5
[TYPECHECK]
# List of members which are set dynamically and missed by Pylint inference
# system, and so shouldn't trigger E1101 when accessed.
generated-members=numpy.*, torch.*