Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop useless lines to constrict pylint version requirement with Python 2.x #91

Merged
merged 1 commit into from
Nov 8, 2018

Conversation

boegel
Copy link
Member

@boegel boegel commented Nov 8, 2018

@wdpypere wdpypere merged commit 86b0551 into hpcugent:master Nov 8, 2018
@boegel boegel deleted the cleanup_pylint_version_req branch November 8, 2018 15:42
@@ -1383,9 +1383,6 @@ def parse_target(self, target, urltemplate=None):
log.info('adding prospector to tests_require')
tests_requires = new_target.setdefault('tests_require', [])
tests_requires.append('prospector >= 1.1.4')
# Python 2.x requires pylint < 2.0, since pylint 2.0 or newer is Python 3 only
if sys.version_info < (2,):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have been < (3,), no?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but since it works fine with using < (2, ), it's proof that it's not needed at all :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants