forked from Grunny/zap-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pylintrc
58 lines (42 loc) · 1.32 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]
# Don't pickle collected data for later comparisons (it's buggy)
persistent = no
[MESSAGES CONTROL]
# Messages to disable
disable = star-args,too-few-public-methods,too-many-public-methods,too-many-arguments,
abstract-method,maybe-no-member,redundant-keyword-arg,too-many-instance-attributes,
logging-format-interpolation
[REPORTS]
# Colorize output
output-format = colorized
# Don't display a full report by default
reports = no
[BASIC]
# Module names
module-rgx = [a-z_][a-z0-9_]+$
# Global variable names
const-rgx = (([A-Z_][A-Z0-9_]+)|([a-z_][a-z0-9_]+)|(__.*__))$
# Classes
class-rgx = [A-Z_][a-zA-Z0-9]+$
# Functions
function-rgx = [a-z_][a-z0-9_]*$
# Methods
method-rgx = [a-z_][a-z0-9_]*$
# Arguments
argument-rgx = [a-z_][a-z0-9_]*$
# Variables
variable-rgx = [a-z_][a-z0-9_]*$
# Class attributes
class-attribute-rgx = ([A-Za-z_][A-Za-z0-9_]+|(__.*__))$
# Inline variables (loops, comprehensions, etc.)
inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$
# Regular expression for functions that don't require a docstring
no-docstring-rgx = (__.*__|decorator|wrapper)$
[FORMAT]
# Maximum number of characters on a single line - should match pep8 setting
max-line-length = 120
[SIMILARITIES]
# Minimum lines number of a similarity
min-similarity-lines = 10
# Ignore imports when computing similarities
ignore-imports = yes