Commit 14ed02c1 by Ned Batchelder

Merge pull request #327 from edx/ned/pylint-tweaks

Pylintrc changes to improve things, including removing the reports.
parents a453de2f 2057436e
......@@ -39,7 +39,8 @@ disable=
# C0301: Line too long
# W0141: Used builtin function 'map'
# W0142: Used * or ** magic
I0011,C0301,W0141,W0142,
# R0922: Abstract class is only referenced 1 times
I0011,C0301,W0141,W0142,R0922,
# Django makes classes that trigger these
# W0232: Class has no __init__ method
......@@ -74,7 +75,7 @@ include-ids=yes
files-output=no
# Tells whether to display a full report or only the messages
reports=yes
reports=no
# Python expression which should return a note less than 10 (10 is the highest
# note). You have access to the variables errors warning, statement which
......@@ -117,7 +118,7 @@ generated-members=
size,
content,
status_code,
# For factory_body factories
# For factory_boy factories
create
......@@ -165,7 +166,7 @@ bad-names=foo,bar,baz,toto,tutu,tata
# Regular expression which should only match functions or classes name which do
# not require a docstring
no-docstring-rgx=(__.*__|test_.*)
no-docstring-rgx=__.*__|test_.*|setUp|tearDown
[MISCELLANEOUS]
......@@ -206,7 +207,7 @@ init-import=no
# A regular expression matching the beginning of the name of dummy variables
# (i.e. not used).
dummy-variables-rgx=_|dummy
dummy-variables-rgx=_|dummy|unused|.*_unused
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment