-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pylintrc
47 lines (40 loc) · 1.52 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
# Pylint rules for pgmock
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=bad-continuation,
fixme,
invalid-name,
locally-disabled,
locally-enabled,
missing-docstring,
no-else-return,
no-init,
no-member,
protected-access,
redefined-outer-name,
too-few-public-methods,
too-many-arguments,
unused-argument,
wrong-import-order,
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, msvs
# (visual studio) and html. You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=colorized
# Tells whether to display a full report or only the messages
reports=no
[BASIC]
# Regular expression which should only match function or class names that do
# not require a docstring.
no-docstring-rgx=__.*__|_.*|test_.*
# Minimum line length for functions/classes that require docstrings, shorter
# ones are exempt.
docstring-min-length=3