forked from ClusterLabs/pcs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pylintrc
38 lines (32 loc) · 1.2 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
# Required version of pylint: see requirements.txt
#
# To install linters and their dependencies, run:
# $ make python_static_code_analysis_reqirements
#
# This project should not contain 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
load-plugins=pylint.extensions.no_self_use
[MESSAGES CONTROL]
# line-too-long and trailing-whitespace is handled by black
# wrong-import-order is handled by isort
disable=fixme, line-too-long, missing-docstring, trailing-whitespace, consider-using-f-string, unspecified-encoding, wrong-import-order
# Everything in module context is a constant, but our naming convention allows
# constants to have the 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