Skip to content
Newer
Older
100644 39 lines (29 sloc) 1.21 KB
1aa44c3 @justinsb Don't complain about the _ function being used
justinsb authored Mar 16, 2011
1 # The format of this file isn't really documented; just use --generate-rcfile
2
46c0f66 Cleaned up pep8/pylint for bin/* files. I did not fix rsapi since thi…
Eric Day authored Aug 7, 2010
3 [Messages Control]
7b7033b @justinsb Don't warn about C0111 (No docstrings)
justinsb authored Mar 16, 2011
4 # NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
5 # C0111: Don't require docstrings on every method
67ea462 Added unittests for wsgi and api.
Eric Day authored Aug 17, 2010
6 # W0511: TODOs in code comments are fine.
7 # W0142: *args and **kwargs are fine.
641b6ee @Cerberus98 Merge prop fixes and pylint/pep8 cleanup
Cerberus98 authored Sep 28, 2010
8 # W0622: Redefining id is fine.
7b7033b @justinsb Don't warn about C0111 (No docstrings)
justinsb authored Mar 16, 2011
9 disable=C0111,W0511,W0142,W0622
46c0f66 Cleaned up pep8/pylint for bin/* files. I did not fix rsapi since thi…
Eric Day authored Aug 8, 2010
10
b77d261 First pass at making a file pass pep8 and pylint tests as an example.
Eric Day authored Aug 5, 2010
11 [Basic]
24c7080 More pylintrc updates.
Eric Day authored Aug 18, 2010
12 # Variable names can be 1 to 31 characters long, with lowercase and underscores
c6c2228 Fix up variable names instead of disabling pylint naming rule. Makes …
jaypipes@gmail.com authored Aug 9, 2010
13 variable-rgx=[a-z_][a-z0-9_]{0,30}$
14
24c7080 More pylintrc updates.
Eric Day authored Aug 19, 2010
15 # Argument names can be 2 to 31 characters long, with lowercase and underscores
16 argument-rgx=[a-z_][a-z0-9_]{1,30}$
17
c6c2228 Fix up variable names instead of disabling pylint naming rule. Makes …
jaypipes@gmail.com authored Aug 9, 2010
18 # Method names should be at least 3 characters long
19 # and be lowecased with underscores
e012a2b PEP8 and pylint cleanup. There should be no functional changes here, …
Eric Day authored Oct 21, 2010
20 method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
b77d261 First pass at making a file pass pep8 and pylint tests as an example.
Eric Day authored Aug 5, 2010
21
67ea462 Added unittests for wsgi and api.
Eric Day authored Aug 18, 2010
22 # Module names matching nova-* are ok (files in bin/)
bde9618 Added '-' as possible charater in module rgx.
Eric Day authored Aug 18, 2010
23 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$
67ea462 Added unittests for wsgi and api.
Eric Day authored Aug 18, 2010
24
25 # Don't require docstrings on tests.
26 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
27
b77d261 First pass at making a file pass pep8 and pylint tests as an example.
Eric Day authored Aug 5, 2010
28 [Design]
29 max-public-methods=100
30 min-public-methods=0
24c7080 More pylintrc updates.
Eric Day authored Aug 19, 2010
31 max-args=6
1aa44c3 @justinsb Don't complain about the _ function being used
justinsb authored Mar 16, 2011
32
33 [Variables]
34
35 # List of additional names supposed to be defined in builtins. Remember that
36 # you should avoid to define new builtins when possible.
37 # _ is used by our localization
38 additional-builtins=_
Something went wrong with that request. Please try again.