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 file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -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.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.