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

Allow python linter to run with specified @python #47

Closed
Closed
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
@@ -18,10 +18,11 @@ class Flake8(PythonLinter):
"""Provides an interface to the flake8 python module/script."""

syntax = ('python', 'python3')
cmd = ('flake8', '*', '-')
cmd = ('flake8@python', '*', '-')
version_args = '--version'
version_re = r'^(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 2.2.2'
check_version = True

# The following regex marks these pyflakes and pep8 codes as errors.
# All other codes are marked as warnings.