Skip to content

Commit

Permalink
Merge pull request #2143 from whirm/pylintrc_tunning
Browse files Browse the repository at this point in the history
Some work on .pylintrc
  • Loading branch information
whirm committed Apr 29, 2016
2 parents 89bebb7 + 3b84838 commit b27f763
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ persistent=yes

# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=
load-plugins=pylint_common,pylint.extensions.check_elif,pylint.extensions.check_docs

# To install required plugins:
# sudo apt install python-pylint-common python-enchant python-pylint-plugin-utils


# Use multiple processes to speed up Pylint.
jobs=8
Expand Down Expand Up @@ -105,7 +109,7 @@ additional-builtins=

# List of strings which can identify a callback function by name. A callback
# name must start or end with one of those strings.
callbacks=cb_,_cb
callbacks=cb_,_cb,on_


[TYPECHECK]
Expand Down Expand Up @@ -135,10 +139,13 @@ generated-members=

# Spelling dictionary name. Available dictionaries: none. To make it working
# install python-enchant package.
spelling-dict=
spelling-dict=en

# To install required dictionary:
# sudo apt install aspell-en

# List of comma separated words that should not be checked.
spelling-ignore-words=
spelling-ignore-words=Tribler,dispersy,pymdht

# A path to a file that contains private dictionary; one word per line.
spelling-private-dict-file=
Expand Down Expand Up @@ -224,7 +231,7 @@ bad-names=foo,bar,baz,toto,tutu,tata
name-group=

# Include a hint for the correct naming format with invalid-name
include-naming-hint=no
include-naming-hint=yes

# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
Expand Down Expand Up @@ -292,7 +299,7 @@ no-docstring-rgx=^_

# Minimum line length for functions/classes that require docstrings, shorter
# ones are exempt.
docstring-min-length=-1
docstring-min-length=5


[ELIF]
Expand Down

0 comments on commit b27f763

Please sign in to comment.