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

Minor fixes to contrib pants lint task #5773

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -7,6 +7,7 @@ python_library(
dependencies=[
'3rdparty/python:pep8',
'3rdparty/python:pyflakes',
'3rdparty/python:pex',
'src/python/pants/backend/python/targets:python',
'src/python/pants/base:exceptions',
'src/python/pants/option',
Expand Down
Expand Up @@ -179,7 +179,7 @@ def execute(self):
interpreter = self.context.products.get_data(PythonInterpreter)
# Check interpreter is not 'None' for test cases that do not
# run the python interpreter selection task.
if interpreter and interpreter.version > (3, 0 ,0):
if interpreter and interpreter.version >= (3, 0 ,0):
self.context.log.info('Linting is currently disabled for Python 3 targets.\n '
'See https://github.com/pantsbuild/pants/issues/5764 for '
'long-term solution tracking.')
Expand Down