Skip to content

Commit

Permalink
Allow specifying python minor versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tresni committed Oct 4, 2017
1 parent 16b9a2e commit b8f7331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .test.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def lint(self, file):


Language.registerLanguage(Language(['.sh'], '(bash|ksh|zsh|sh|fish)$', ['shellcheck', '-e', 'SC2196', '-e', 'SC2197']))
Language.registerLanguage(Language(['.py', '.py2'], 'python(|2)$', ['python2', '-m', 'pyflakes']))
Language.registerLanguage(Language(['.py', '.py3'], 'python(|3)$', ['python3', '-m', 'pyflakes']))
Language.registerLanguage(Language(['.py', '.py2'], 'python(|2(\.\d+)?)$', ['python2', '-m', 'pyflakes']))
Language.registerLanguage(Language(['.py', '.py3'], 'python(|3(\.\d+)?)$', ['python3', '-m', 'pyflakes']))
Language.registerLanguage(Language(['.rb'], 'ruby$', ['rubocop', '-l']))
Language.registerLanguage(Language(['.js'], 'node$', ['jshint']))
Language.registerLanguage(Language(['.php'], 'php$', ['php', '-l']))
Expand Down

0 comments on commit b8f7331

Please sign in to comment.