Skip to content

Commit 822c2ed

Browse files
shashank-bgitmate-bot
authored andcommitted
reSTLintBear.py: Change rst_lint version
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
1 parent e085b3f commit 822c2ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bear-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pylint~=1.7.2
3131
pyroma~=2.2.0
3232
pyyaml~=3.12
3333
radon==1.4.0
34-
restructuredtext-lint~=1.0.0
34+
restructuredtext-lint~=1.0
3535
rstcheck~=3.1
3636
safety~=1.8.2
3737
scspell3k~=2.0

bear-requirements.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pip_requirements:
204204
radon:
205205
version: ==1.4.0
206206
restructuredtext-lint:
207-
version: ~=1.0.0
207+
version: ~=1.0
208208
rstcheck:
209209
version: ~=3.1
210210
safety:

bears/rest/reSTLintBear.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class reSTLintBear(LocalBear):
1010
LANGUAGES = {'reStructuredText'}
11-
REQUIREMENTS = {PipRequirement('restructuredtext-lint', '1.0.0')}
11+
REQUIREMENTS = {PipRequirement('restructuredtext-lint', '~=1.0')}
1212
AUTHORS = {'The coala developers'}
1313
AUTHORS_EMAILS = {'[email protected]'}
1414
LICENSE = 'AGPL-3.0'

0 commit comments

Comments
 (0)