File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : python
22python :
3- - " 3.3"
4- # command to install dependencies
3+ - " 3.6"
54install :
65 - pip install flake8
7- - pip install pydocstyle
8- # command to run tests
96script :
107 - flake8 .
11- - pydocstyle . --add-ignore=D202
Original file line number Diff line number Diff line change 1- #
2- # linter.py
3- # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
4- #
5- # Written by Aparajita Fishman
6- # Contributors: Francis Gulotta, Josh Hagins, Mark Haylock
7- # Copyright (c) 2015-2016 The SublimeLinter Community
8- # Copyright (c) 2013-2014 Aparajita Fishman
9- #
10- # License: MIT
11- #
12-
13- """This module exports the Rubocop plugin class."""
14-
151import os
162from SublimeLinter .lint import RubyLinter
173
184
195class Rubocop (RubyLinter ):
20- """Provides an interface to rubocop."""
21-
226 syntax = (
237 'better rspec' ,
248 'betterruby' ,
@@ -28,10 +12,6 @@ class Rubocop(RubyLinter):
2812 'ruby on rails' ,
2913 'ruby'
3014 )
31- cmd = None
32- version_args = '-S rubocop --version'
33- version_re = r'(?P<version>\d+\.\d+\.\d+)'
34- version_requirement = '>= 0.34.0'
3515 regex = (
3616 r'^.+?:(?P<line>\d+):(?P<col>\d+): '
3717 r'(:?(?P<warning>[RCW])|(?P<error>[EF])): '
You can’t perform that action at this time.
0 commit comments