1# The format of this file isn't really documented; just use --generate-rcfile
2
3[Messages Control]
4# NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
5# C0111: Don't require docstrings on every method
6# W0511: TODOs in code comments are fine.
7# W0142: *args and **kwargs are fine.
8# W0622: Redefining id is fine.
9disable=C0111,W0511,W0142,W0622
10
11[Basic]
12# Variable names can be 1 to 31 characters long, with lowercase and underscores
13variable-rgx=[a-z_][a-z0-9_]{0,30}$
14
15# Argument names can be 2 to 31 characters long, with lowercase and underscores
16argument-rgx=[a-z_][a-z0-9_]{1,30}$
17
18# Method names should be at least 3 characters long
19# and be lowercased with underscores
20method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
21
22# Don't require docstrings on tests.
23no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
24
25[Design]
26max-public-methods=100
27min-public-methods=0
28max-args=6
29
30[Variables]
31
32dummy-variables-rgx=_
33
34[Typecheck]
35# Disable warnings on the HTTPSConnection classes because pylint doesn't
36# support importing from six.moves yet, see:
37# https://bitbucket.org/logilab/pylint/issue/550/
38ignored-classes=HTTPSConnection
39