Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This .pylintrc file contains a number of settings for PyLint that make sense to me given Dragonfly's overall code style.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[MASTER] | ||
|
||
# Add files or directories matching the regex patterns to the blacklist. The | ||
# regex matches against base names, not paths. | ||
ignore-patterns=_test_*.py | ||
|
||
# Use multiple processes to speed up Pylint. | ||
jobs=4 | ||
|
||
[MESSAGES CONTROL] | ||
|
||
# Disable unwanted warnings with the given id(s) using a comma-separated | ||
# list. | ||
disable=invalid-name,bare-except,broad-except,bad-whitespace,unused-import,multiple-statements,missing-docstring,empty-docstring,useless-object-inheritance,no-else-return,len-as-condition | ||
|
||
[DESIGN] | ||
|
||
# Maximum number of arguments for function / method | ||
max-args=7 | ||
|
||
# Minimum number of public methods for a class (see R0903). | ||
min-public-methods=0 | ||
|
||
# Maximum number of public methods for a class (see R0904). | ||
max-public-methods=20 | ||
|
||
[CLASSES] | ||
|
||
# List of method names used to declare (i.e. assign) instance attributes. | ||
# Action classes define some instance attributes in initialize(). | ||
defining-attr-methods=__init__,__new__,setUp,initialize |