forked from ExtensionShield/ExtensionShield
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pylintrc
More file actions
54 lines (40 loc) · 1.41 KB
/
Copy path.pylintrc
File metadata and controls
54 lines (40 loc) · 1.41 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
[MAIN]
# Minimum Python version to use
py-version=3.11
# Specify a score threshold under which the program will exit with error
fail-under=9.0
# Files or directories to be skipped
ignore=CVS,.git,__pycache__,.pytest_cache,.venv,venv,node_modules
# Pickle collected data for later comparisons
persistent=yes
[MESSAGES CONTROL]
# Disable specific warnings that are acceptable in this codebase
disable=
broad-exception-caught, # W0718: We intentionally catch broad exceptions for logging
too-few-public-methods, # R0903: Utility classes may have few public methods
import-outside-toplevel, # C0415: We use lazy imports for optional dependencies
[FORMAT]
# Maximum number of characters on a single line
max-line-length=100
# Maximum number of lines in a module
max-module-lines=1000
[BASIC]
# Good variable names which should always be accepted
good-names=i,j,k,ex,exc,_,id,f,e
# Regular expression matching correct constant names
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
[DESIGN]
# Maximum number of arguments for function / method
max-args=7
# Maximum number of locals for function / method body
max-locals=15
# Maximum number of return / yield for function / method body
max-returns=6
# Maximum number of branch for function / method body
max-branches=12
[IMPORTS]
# Allow wildcard imports from modules
allow-wildcard-with-all=no
[LOGGING]
# Format style used to check logging format string
logging-format-style=old