Skip to content

Commit

Permalink
reSTLintBear.py: Change rst_lint version
Browse files Browse the repository at this point in the history
This adds support for Sphinx prolog and epilog and other new
features by changing restructuredtext-lint version from '1.0.0'
to '1.0' in the files reSTLintBear.py, bear-requirements.txt
and bear-requirements.yaml. This is done by ensuring that
upgrading to versions '1.1.x' and '1.2.x' is also allowed.

Closes #1954
  • Loading branch information
shashank-b authored and gitmate-bot committed Feb 13, 2019
1 parent e085b3f commit 822c2ed
Show file tree
Hide file tree
Showing 3 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 @@ -31,7 +31,7 @@ pylint~=1.7.2
pyroma~=2.2.0
pyyaml~=3.12
radon==1.4.0
restructuredtext-lint~=1.0.0
restructuredtext-lint~=1.0
rstcheck~=3.1
safety~=1.8.2
scspell3k~=2.0
Expand Down
2 changes: 1 addition & 1 deletion bear-requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pip_requirements:
radon:
version: ==1.4.0
restructuredtext-lint:
version: ~=1.0.0
version: ~=1.0
rstcheck:
version: ~=3.1
safety:
Expand Down
2 changes: 1 addition & 1 deletion bears/rest/reSTLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class reSTLintBear(LocalBear):
LANGUAGES = {'reStructuredText'}
REQUIREMENTS = {PipRequirement('restructuredtext-lint', '1.0.0')}
REQUIREMENTS = {PipRequirement('restructuredtext-lint', '~=1.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'[email protected]'}
LICENSE = 'AGPL-3.0'
Expand Down

0 comments on commit 822c2ed

Please sign in to comment.