Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down