forked from in-toto/in-toto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpylintrc
26 lines (21 loc) · 1.28 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
# Minimal pylint configuration file for secure systems lab code style guide
# https://github.com/secure-systems-lab/code-style-guidelines. See
# http://pylint.pycqa.org/en/latest/technical_reference/features.html for
# defaults.
# NOTE: Not all default values have been reviewed. If new code breaks the
# linter (for good reasons) consider updating this config file, or disable
# checks via `# pylint: disable=XYZ` in a module or via `--disable` in tox.ini.
[BASIC]
good-names=e, fn, fp
[MESSAGES CONTROL]
# Disable checks that seem too strict or require too big of a refactor
# TODO: Enable W0703 (broad-except) with in-toto/in-toto#126 and consider
# enabling C0411, C0412, C0413, R0401 (import related checkers) with
# in-toto/in-toto#145.
disable= fixme, logging-format-interpolation, logging-not-lazy, design, broad-except, wrong-import-order, ungrouped-imports, wrong-import-position, cyclic-import, len-as-condition, literal-comparison, useless-object-inheritance, consider-merging-isinstance, duplicate-code, inconsistent-return-statements, no-self-use, bad-classmethod-argument, super-with-arguments, consider-using-f-string
[VARIABLES]
dummy-variables-rgx= _+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_|junk
[FORMAT]
indent-string=" "
max-line-length=79
max-module-lines=2000