diff --git a/tox.ini b/tox.ini index b4364d608..37e9a1dc7 100644 --- a/tox.ini +++ b/tox.ini @@ -104,13 +104,17 @@ commands = basepython = python3 skip_install = true passenv = PYTHON LANG -deps = pep257==0.6.0 +deps = pep257==0.7.0 # Disabled checks: # D102: Missing docstring in public method (will be handled by others) # D103: Missing docstring in public function (will be handled by others) +# D104: Missing docstring in public package (will be handled by others) +# D105: Missing docstring in magic method (will be handled by others) # D209: Blank line before closing """ (removed from PEP257) +# D211: Now b lank lines allowed before class docstring +# (PEP257 got changed, but let's stick to the old standard) # D402: First line should not be function's signature (false-positives) -commands = {envpython} -m pep257 scripts tests qutebrowser --ignore=D102,D103,D209,D402 '--match=(?!resources|test_*).*\.py' +commands = {envpython} -m pep257 scripts tests qutebrowser --ignore=D102,D103,D104,D105,D209,D211,D402 '--match=(?!resources|test_*).*\.py' [testenv:pyflakes] basepython = python3