forked from ClusterLabs/pcs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pylintrc
36 lines (30 loc) · 1.07 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
# Required version of pylint: see requirements.txt
#
# To install linters and their dependencies, run:
# $ make python_static_code_analysis_reqirements
#
# This project should not containt any issues reported by any linter when using
# this command to run linters on the whole project:
# $ make black_check python_static_code_analysis
[MASTER]
extension-pkg-whitelist=lxml.etree,pycurl
[MESSAGES CONTROL]
# line-too-long and trailing-whitespace is handled by black
disable=bad-continuation, fixme, line-too-long, missing-docstring, trailing-whitespace
# Everything in module context is a constant, but our naming convetion allows
# constants to have same name format as variables
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))|([a-z_][a-z0-9_]*)$
[DESIGN]
max-module-lines=1500
max-args=8
max-parents=10
min-public-methods=0
[BASIC]
good-names=e, i, op, ip, el, maxDiff, cm, ok, T, dr
[VARIABLES]
# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=_$|dummy
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80