1 # The format of this file isn't really documented; just use --generate-rcfile
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.
6 # Note the 'openstack' below is intended to match only
7 # neutron.openstack.common. If we ever have another 'openstack'
8 # dirname, then we'll need to expand the ignore features in pylint :/
9 ignore=.git,tests,openstack
12 # NOTE(gus): This is a long list. A number of these are important and
13 # should be re-enabled once the offending code is fixed (or marked
14 # with a local disable)
16 # "F" Fatal errors that prevent further processing
18 # "I" Informational noise
20 # "E" Error for important programming issues (likely bugs)
21 access-member-before-definition,
25 # "W" Warnings for stylistic problems or minor programming issues
28 attribute-defined-outside-init,
32 dangerous-default-value,
34 expression-not-assigned,
38 non-parent-init-called,
45 super-init-not-called,
47 unpacking-non-sequence,
51 # "C" Coding convention violations
56 # "R" Refactor recommendations
57 abstract-class-little-used,
58 abstract-class-not-used,
60 interface-not-implemented,
62 too-few-public-methods,
66 too-many-instance-attributes,
69 too-many-public-methods,
70 too-many-return-statements,
74 # Variable names can be 1 to 31 characters long, with lowercase and underscores
75 variable-rgx=[a-z_][a-z0-9_]{0,30}$
77 # Argument names can be 2 to 31 characters long, with lowercase and underscores
78 argument-rgx=[a-z_][a-z0-9_]{1,30}$
80 # Method names should be at least 3 characters long
81 # and be lowecased with underscores
82 method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
84 # Module names matching neutron-* are ok (files in bin/)
85 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$
87 # Don't require docstrings on tests.
88 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
91 # Maximum number of characters on a single line.
95 # List of additional names supposed to be defined in builtins. Remember that
96 # you should avoid to define new builtins when possible.
97 # _ is used by our localization
101 # List of interface methods to ignore, separated by a comma.
102 ignore-iface-methods=
105 # Deprecated modules which should not be used, separated by a comma
107 # should use openstack.common.jsonutils
111 # List of module names for which member attributes should not be checked
112 ignored-modules=six.moves,_MovedItems
115 # Tells whether to display a full report or only the messages