-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpylintrc
More file actions
36 lines (27 loc) · 1.08 KB
/
pylintrc
File metadata and controls
36 lines (27 loc) · 1.08 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
# This pylintrc file will use the default settings except for the
# naming conventions, which will allow for camel case naming as found
# in Java code or several libraries such as PyQt, etc.
[BASIC]
# Regular expression which should only match correct module names
module-rgx=(([a-z][a-z0-9]*)|([A-Z][a-zA-Z0-9]+))$
# Regular expression which should only match correct class names
class-rgx=[A-Z][a-zA-Z0-9]+$
# Regular expression which should only match correct function names
function-rgx=[a-z_][a-zA-Z0-9]*$
# Regular expression which should only match correct method names
method-rgx=[a-z_][a-zA-Z0-9]*$
# Regular expression which should only match correct argument names
argument-rgx=[a-z][a-zA-Z0-9]*$
# Regular expression which should only match correct variable names
variable-rgx=[a-z][a-zA-Z0-9]*$
[DESIGN]
max-locals=25
max-branches=25
max-attributes=25
min-public-methods=0
[FORMAT]
# String used as indentation unit. This is usually " " (3 spaces) or "\t" (1
# tab).
indent-string=' '
# Number of spaces of indent required inside a hanging or continued line.
indent-after-paren=3