-
Notifications
You must be signed in to change notification settings - Fork 27
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
enable duplicate-code warnings #90
Conversation
@wdpypere Tests fail with:
|
We once added pytlint < 2.0.0 because old prospector had issues with new pylint, this should be fixed if prospector is requiring pylint >=2 now |
@wdpypere nope, I'm afraid...
See https://travis-ci.org/hpcugent/vsc-install/jobs/443223864 |
They don't seem to be able to get their dependencies together at prospector, someone should go trought the dependency tree and see where the conflict lies, possibly related to this change Last time I had to fix it with prospector-dev/prospector#252 |
@boegel the tests now run fine on my machine and jenkins. |
@boegel the tests still fail on travis python 3 but I cannot reproduce it. It works fine on my machine. |
@wdpypere Issue with Python 3 tests fixed with wdpypere#1 |
only require pylint < 2.0 for Python 2.x
@boegel nice. Tests run fine now. |
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,): | ||
tests_requires.append('pylint<2.0.0') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hah, this is actually bullshit, since:
>>> sys.version_info
sys.version_info(major=2, minor=7, micro=10, releaselevel='final', serial=0)
>>> sys.version_info < (2,)
False
So this can just be dropped...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in #91
No description provided.