Skip to content

Commit

Permalink
Update the bear requirements to allow new versions
Browse files Browse the repository at this point in the history
The commit updates the bear requirements to allow
new linter versions used. The new linter versions are
identified from an openSUSE build log where the
bears' test pass.

Closes coala#2877
  • Loading branch information
KVGarg committed Jul 22, 2019
1 parent cbe1841 commit f818425
Show file tree
Hide file tree
Showing 29 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem "brakeman", "~>4.1.1", require: false
gem "csvlint", "~>0.4.0", require: false
gem "fasterer", "~>0.4.1", require: false
gem "haml_lint", "~>0.27.0", require: false
gem "puppet-lint", "~>2.1.1", require: false
gem "puppet-lint", "~>2.3.3", require: false
gem "reek", "~>4.6", require: false
gem "rubocop", "~>0.51.0", require: false
gem "scss_lint", "~>0.56.0", require: false
Expand Down
46 changes: 23 additions & 23 deletions bear-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
HTTPolice~=0.5.2
aenum~=2.0.8
HTTPolice~=0.7.0
aenum~=2.1.2
apertium-lint~=0.29
autoflake~=0.7
autopep8~=1.2
bandit~=1.2
autoflake~=1.2
autopep8~=1.4.3
bandit~=1.5.1
bashate~=0.5.1
cmakelint~=1.3
cmakelint~=1.3.4.1
cppclean~=0.12.0
cpplint~=1.3
dennis~=0.9
docutils-ast-writer~=0.1.2
eradicate~=0.1.6
git-url-parse~=1.1
guess-language-spirit~=0.5.2
eradicate~=1.0
git-url-parse~=1.2.0
guess-language-spirit~=0.5.3
html-linter~=0.4.0
isort~=4.2
language-check~=1.0
isort~=4.3.4
language-check~=1.1
libclang-py3~=3.4.0
lxml>=1.0
lxml==4.3.1
memento-client~=0.6.1
munkres3~=1.0
mypy==0.590
nbformat~=4.1
nltk~=3.2
proselint~=0.7.0
pycodestyle~=2.2
pydocstyle~=2.0
pyflakes~=2.0.0
nbformat~=4.4.0
nltk~=3.4
proselint~=0.10.2
pycodestyle~=2.5.0
pydocstyle~=3.0.0
pyflakes~=2.1.0
pylint~=1.7.2
pyroma~=2.2.0
pyyaml~=3.12
radon==1.4.0
restructuredtext-lint~=1.0
rstcheck~=3.1
restructuredtext-lint~=1.2.2
rstcheck~=3.3.1
safety~=1.8.2
scspell3k~=2.0
scspell3k~=2.2
sqlparse~=0.2.4
vim-vint~=0.3.12,!=0.3.19
vulture~=0.25.0
yamllint~=1.12.0
vulture~=1.0
yamllint~=1.15.0
yapf~=0.21.0
50 changes: 25 additions & 25 deletions bear-requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
overrides: pm-requirements.yaml
pip_requirements:
HTTPolice:
version: ~=0.5.2
version: ~=0.7.0
aenum:
version: ~=2.0.8
version: ~=2.1.2
apertium-lint:
version: ~=0.29
autoflake:
version: ~=0.7
autopep8:
version: ~=1.2
autopep8:
version: ~=1.4.3
bandit:
version: ~=1.2
version: ~=1.5.1
bashate:
version: ~=0.5.1
cmakelint:
version: ~=1.3
version: ~=1.3.4.1
cppclean:
version: ~=0.12.0
cpplint:
Expand All @@ -27,39 +27,39 @@ pip_requirements:
docutils-ast-writer:
version: ~=0.1.2
eradicate:
version: ~=0.1.6
version: ~=1.0
git-url-parse:
version: ~=1.1
version: ~=1.2.0
guess-language-spirit:
version: ~=0.5.2
version: ~=0.5.3
html-linter:
version: ~=0.4.0
isort:
version: ~=4.2
version: ~=4.3.4
language-check:
version: ~=1.0
version: ~=1.1
libclang-py3:
version: ~=3.4.0
lxml:
version: '>=1.0'
version: ==4.3.1
memento-client:
version: ~=0.6.1
munkres3:
version: ~=1.0
mypy:
version: ==0.590
nbformat:
version: ~=4.1
version: ~=4.4.0
nltk:
version: ~=3.2
version: ~=3.4
proselint:
version: ~=0.7.0
version: ~=0.10.2
pycodestyle:
version: ~=2.2
version: ~=2.5.0
pydocstyle:
version: ~=2.0
version: ~=3.0.0
pyflakes:
version: ~=2.0.0
version: ~=2.1.0
pylint:
version: ~=1.7.2
pyroma:
Expand All @@ -69,21 +69,21 @@ pip_requirements:
radon:
version: ==1.4.0
restructuredtext-lint:
version: ~=1.0
version: ~=1.2.2
rstcheck:
version: ~=3.1
version: ~=3.3.1
safety:
version: ~=1.8.2
scspell3k:
version: ~=2.0
version: ~=2.2
sqlparse:
version: ~=0.2.4
vim-vint:
version: ~=0.3.12,!=0.3.19
vulture:
version: ~=0.25.0
version: ~=1.0
yamllint:
version: ~=1.12.0
version: ~=1.15.0
yapf:
version: ~=0.21.0
npm_requirements:
Expand Down Expand Up @@ -205,7 +205,7 @@ gem_requirements:
haml_lint:
version: ~>0.27.0
puppet-lint:
version: ~>2.1.1
version: ~>2.3.3
reek:
version: ~>4.6
rubocop:
Expand All @@ -220,7 +220,7 @@ composer_requirements:
phpmd/phpmd:
version: ~2.6.0
squizlabs/php_codesniffer:
version: ~3.3.2
version: ~3.4.0
cabal_requirements:
ShellCheck:
version: ==0.4.1
Expand Down
2 changes: 1 addition & 1 deletion bears/apertium/ApertiumLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ApertiumLintBear:
"""
LANGUAGES = {'Apertium'}
REQUIREMENTS = {PipRequirement('apertium-lint', '0.29'),
PipRequirement('lxml', '>=1.0')}
PipRequirement('lxml', '==4.3.1')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/cmake/CMakeLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CMakeLintBear:
For more information consult <https://github.com/richq/cmake-lint>.
"""
LANGUAGES = {'CMake'}
REQUIREMENTS = {PipRequirement('cmakelint', '1.3')}
REQUIREMENTS = {PipRequirement('cmakelint', '1.3.4.1')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/configfiles/PuppetLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PuppetLintBear:
'''

LANGUAGES = {'Puppet'}
REQUIREMENTS = {GemRequirement('puppet-lint', '2.1.1')}
REQUIREMENTS = {GemRequirement('puppet-lint', '2.3.3')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/documentation/DocGrammarBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class DocGrammarBear(DocBaseClass, LocalBear):
LANGUAGES = {language for docstyle, language in
DocstyleDefinition.get_available_definitions()}
REQUIREMENTS = {PipRequirement('language-check', '1.0')}
REQUIREMENTS = {PipRequirement('language-check', '1.1')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/general/InvalidLinkBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class InvalidLinkBear(LocalBear):
DEFAULT_TIMEOUT = 15
LANGUAGES = {'All'}
REQUIREMENTS = {PipRequirement('requests', '2.12')}
REQUIREMENTS = {PipRequirement('requests', '2.21.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/general/URLBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, origin, affected_code,

class URLBear(LocalBear):
LANGUAGES = {'All'}
REQUIREMENTS = {PipRequirement('aenum', '2.0.8')}
REQUIREMENTS = {PipRequirement('aenum', '2.1.2')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/general/URLHeadBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class URLHeadBear(LocalBear):
BEAR_DEPS = {URLBear}
DEFAULT_TIMEOUT = 15
LANGUAGES = {'All'}
REQUIREMENTS = {PipRequirement('requests', '2.12')}
REQUIREMENTS = {PipRequirement('requests', '2.21.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/hypertext/HTTPoliceLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class HTTPoliceLintBear:
conformance to standards and best practices.
"""
LANGUAGES = {'HAR'}
REQUIREMENTS = {PipRequirement('HTTPolice', '0.5.2')}
REQUIREMENTS = {PipRequirement('HTTPolice', '0.7.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
4 changes: 2 additions & 2 deletions bears/natural_language/LanguageToolBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class LanguageToolBear(LocalBear):
LANGUAGES = {'Natural Language'}
REQUIREMENTS = {PipRequirement('guess-language-spirit', '0.5.2'),
PipRequirement('language-check', '1.0')}
REQUIREMENTS = {PipRequirement('guess-language-spirit', '0.5.3'),
PipRequirement('language-check', '1.1')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/natural_language/ProseLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ProseLintBear:
Works only with English language text.
"""
LANGUAGES = {'Natural Language'}
REQUIREMENTS = {PipRequirement('proselint', '0.7.0')}
REQUIREMENTS = {PipRequirement('proselint', '0.10.2')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/natural_language/SpellCheckBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SpellCheckBear:
See <https://pypi.python.org/pypi/scspell3k> for more information.
"""
LANGUAGES = {'Natural Language'}
REQUIREMENTS = {PipRequirement('scspell3k', '2.0')}
REQUIREMENTS = {PipRequirement('scspell3k', '2.2')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/php/PHPCodeSnifferBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class PHPCodeSnifferBear:
[DistributionRequirement(apt_get='php-codesniffer',
zypper='php-pear-php_codesniffer',
),
ComposerRequirement('squizlabs/php_codesniffer', '3.3.2'),
ComposerRequirement('squizlabs/php_codesniffer', '3.4.0'),
],
),
}
Expand Down
2 changes: 1 addition & 1 deletion bears/python/BanditBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BanditBear:
module from the Python standard library.
"""
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('bandit', '1.2')}
REQUIREMENTS = {PipRequirement('bandit', '1.5.1')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PEP8Bear.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class PEP8Bear(LocalBear):
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('autopep8', '1.2')}
REQUIREMENTS = {PipRequirement('autopep8', '1.4.3')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
4 changes: 2 additions & 2 deletions bears/python/PEP8NotebookBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def autopep8_fix_code_cell(source, options=None, apply_config=None):

class PEP8NotebookBear(LocalBear):
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('autopep8', '1.2'),
PipRequirement('nbformat', '4.1')}
REQUIREMENTS = {PipRequirement('autopep8', '1.4.3'),
PipRequirement('nbformat', '4.4.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PyCommentedCodeBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class PyCommentedCodeBear(LocalBear):
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('eradicate', '0.1.6')}
REQUIREMENTS = {PipRequirement('eradicate', '1.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PyDocStyleBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PyDocStyleBear:
Checks python docstrings.
"""
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('pydocstyle', '2.0')}
REQUIREMENTS = {PipRequirement('pydocstyle', '3.0.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PyFlakesBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PyFlakesBear:
See https://github.com/PyCQA/pyflakes for more info.
"""
LANGUAGES = {'Python', 'Python 3'}
REQUIREMENTS = {PipRequirement('pyflakes', '2.0.0')}
REQUIREMENTS = {PipRequirement('pyflakes', '2.1.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PyImportSortBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class PyImportSortBear(LocalBear):

LANGUAGES = {'Python', 'Python 3', 'Python 2'}
REQUIREMENTS = {PipRequirement('isort', '4.2')}
REQUIREMENTS = {PipRequirement('isort', '4.3.4')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PyUnusedCodeBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PyUnusedCodeBear(
languages=['Python'],
):
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('autoflake', '0.7')}
REQUIREMENTS = {PipRequirement('autoflake', '1.2')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down
2 changes: 1 addition & 1 deletion bears/python/PycodestyleBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PycodestyleBear:
A wrapper for the tool ``pycodestyle`` formerly known as ``pep8``.
"""
LANGUAGES = {'Python', 'Python 2', 'Python 3'}
REQUIREMENTS = {PipRequirement('pycodestyle', '2.2')}
REQUIREMENTS = {PipRequirement('pycodestyle', '2.5.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
LICENSE = 'AGPL-3.0'
Expand Down

0 comments on commit f818425

Please sign in to comment.