Skip to content

Commit 6ec6d0f

Browse files
authored
Merge pull request #54 from SublimeLinter/sl4-cleanup
cleanup deprecated stuff and simplify travis test
2 parents 869e257 + 3d451cc commit 6ec6d0f

2 files changed

Lines changed: 1 addition & 25 deletions

File tree

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
language: python
22
python:
3-
- "3.3"
4-
# command to install dependencies
3+
- "3.6"
54
install:
65
- pip install flake8
7-
- pip install pydocstyle
8-
# command to run tests
96
script:
107
- flake8 .
11-
- pydocstyle . --add-ignore=D202

linter.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
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-
151
import os
162
from SublimeLinter.lint import RubyLinter
173

184

195
class 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])): '

0 commit comments

Comments
 (0)