This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
pylintrc
58 lines (47 loc) · 1.55 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
[MASTER]
# Add the source directory to PYTHONPATH so that we don't get invalid
# "Unable to import" errors.
# Snippet by alex_koval: https://stackoverflow.com/a/39207275
init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.join(os.path.dirname(find_pylintrc()), 'src'))"
# Parallelize automatically over available CPUs.
jobs=0
[MESSAGES CONTROL]
disable=missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
similarities,
[REPORTS]
reports=yes
score=no
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=100
# Maximum number of lines in a module.
max-module-lines=1000
# Disallow body of class and if statements to be on one line.
single-line-class-stmt=no
single-line-if-stmt=no
[TYPECHECK]
ignored-classes=retrace.config.Config
[VARIABLES]
# Do not check for unused imports in __init__ files.
init-import=no
# A regular expression matching the beginning of the name of dummy/unused variables.
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)
[BASIC]
# Regular expression which for function and class names that do not require
# a docstring.
no-docstring-rgx=^_
# Good variable names which should always be accepted.
good-names=a,db,e,ex,fd,i,j,k,n,r,to,v
[CLASSES]
# List of method names used to declare instance attributes.
defining-attr-methods=__init__,__new__,setUp
# List of members excluded from the protected access warnings.
exclude-protected=_arch
[DESIGN]
min-public-methods=1
[STRING]
check-quote-consistency=yes
[MISCELLANEOUS]
notes=FIXME,XXX,TODO