~yolanda.robla/glance/precise-security

« back to all changes in this revision

Viewing changes to pylintrc

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2011-01-19 12:01:32 UTC
  • Revision ID: james.westby@ubuntu.com-20110119120132-uy3vi38a02yq967k
Tags: upstream-0.1.3pre~bzr39
ImportĀ upstreamĀ versionĀ 0.1.3pre~bzr39

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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