add build branch
[openstack-build/neutron-build.git] / .pylintrc
1 # The format of this file isn't really documented; just use --generate-rcfile
2 [MASTER]
3 # Add <file or directory> to the black list. It should be a base name, not a
4 # path. You may set this option multiple times.
5 ignore=test
6
7 [Messages Control]
8 # NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
9 # C0111: Don't require docstrings on every method
10 # W0511: TODOs in code comments are fine.
11 # W0142: *args and **kwargs are fine.
12 # W0622: Redefining id is fine.
13 disable=C0111,W0511,W0142,W0622
14
15 [Basic]
16 # Variable names can be 1 to 31 characters long, with lowercase and underscores
17 variable-rgx=[a-z_][a-z0-9_]{0,30}$
18
19 # Argument names can be 2 to 31 characters long, with lowercase and underscores
20 argument-rgx=[a-z_][a-z0-9_]{1,30}$
21
22 # Method names should be at least 3 characters long
23 # and be lowecased with underscores
24 method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
25
26 # Module names matching neutron-* are ok (files in bin/)
27 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$
28 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(quantum-[a-z0-9_-]+))$
29
30 # Don't require docstrings on tests.
31 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
32
33 [Design]
34 max-public-methods=100
35 min-public-methods=0
36 max-args=6
37
38 [Variables]
39
40 # List of additional names supposed to be defined in builtins. Remember that
41 # you should avoid to define new builtins when possible.
42 # _ is used by our localization
43 additional-builtins=_