17.1.1
by jaypipes at gmail
Packaging fixups |
1 |
[Messages Control]
|
2 |
# W0511: TODOs in code comments are fine.
|
|
3 |
# W0142: *args and **kwargs are fine.
|
|
4 |
# W0622: Redefining id is fine.
|
|
5 |
disable-msg=W0511,W0142,W0622 |
|
6 |
||
7 |
[Basic]
|
|
8 |
# Variable names can be 1 to 31 characters long, with lowercase and underscores
|
|
9 |
variable-rgx=[a-z_][a-z0-9_]{0,30}$ |
|
10 |
||
11 |
# Argument names can be 2 to 31 characters long, with lowercase and underscores
|
|
12 |
argument-rgx=[a-z_][a-z0-9_]{1,30}$ |
|
13 |
||
14 |
# Method names should be at least 3 characters long
|
|
15 |
# and be lowecased with underscores
|
|
16 |
method-rgx=[a-z_][a-z0-9_]{2,50}$ |
|
17 |
||
18 |
# Module names matching nova-* are ok (files in bin/)
|
|
19 |
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$ |
|
20 |
||
21 |
# Don't require docstrings on tests.
|
|
22 |
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$ |
|
23 |
||
24 |
[Design]
|
|
25 |
max-public-methods=100 |
|
26 |
min-public-methods=0 |
|
27 |
max-args=6 |