Skip to content

Commit

Permalink
requirements: Upgrade yapf to 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
sils committed Nov 23, 2016
1 parent 28d24b6 commit ea3b387
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bears/python/YapfBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class YapfBear(LocalBear):
"""
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
AUTHORS = {'The coala developers'}
REQUIREMENTS = {PipRequirement('yapf', '0.11')}
REQUIREMENTS = {PipRequirement('yapf', '0.14')}
AUTHORS_EMAILS = {'[email protected]'}
LICENSE = 'AGPL-3.0'
CAN_FIX = {'Formatting'}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ autoflake==0.6.*
restructuredtext_lint==0.14.*
proselint==0.3.*
cpplint==1.*
yapf==0.11.*
yapf~=0.14
isort==4.*
html-linter==0.3.*
# Do *not* use 0.3 which is not backwards compatible to common clang versions
Expand Down
3 changes: 2 additions & 1 deletion tests/python/YapfBearTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ def test_allow_multiline_lambdas(self):
' a,\n',
' lambda xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
'xxxxxxxxxxxxxx: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
'xxxxxxxxxxxxxxxxxxx + 222222222)\n'],
'xxxxxxxxxxxxxxxxxxx + 222222222\n',
')\n'],
valid=True)

0 comments on commit ea3b387

Please sign in to comment.