Skip to content

Commit

Permalink
Upgrade pydocstyle to 2.0
Browse files Browse the repository at this point in the history
Use stdout to print errors.

Closes coala#1645
  • Loading branch information
Vamshi99 committed May 3, 2017
1 parent ec1b330 commit df053f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bear-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ nbformat~=4.1
nltk~=3.2
proselint~=0.7.0
pycodestyle~=2.2
pydocstyle~=1.1
pydocstyle~=2.0
pyflakes~=1.4.0
pylint~=1.6
pyroma~=2.2.0
Expand Down
4 changes: 2 additions & 2 deletions bears/python/PyDocStyleBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


@linter(executable='pydocstyle',
use_stdout=False,
use_stdout=True,
use_stderr=True,
output_format='regex',
output_regex=r'.*:(?P<line>\d+) .+:\n\s+(?P<message>.*)')
Expand All @@ -13,7 +13,7 @@ class PyDocStyleBear:
Checks python docstrings.
"""
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('pydocstyle', '1.1')}
REQUIREMENTS = {PipRequirement('pydocstyle', '2.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'[email protected]'}
LICENSE = 'AGPL-3.0'
Expand Down

0 comments on commit df053f7

Please sign in to comment.