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
wants to merge 1 commit into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

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.
ProTip! Use n and p to navigate between commits in a pull request.