Skip to content

Commit

Permalink
Merge pull request #54 from SublimeLinter/sl4-cleanup
Browse files Browse the repository at this point in the history
cleanup deprecated stuff and simplify travis test
  • Loading branch information
braver authored Mar 26, 2018
2 parents 869e257 + 3d451cc commit 6ec6d0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
language: python
python:
- "3.3"
# command to install dependencies
- "3.6"
install:
- pip install flake8
- pip install pydocstyle
# command to run tests
script:
- flake8 .
- pydocstyle . --add-ignore=D202
20 changes: 0 additions & 20 deletions linter.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Aparajita Fishman
# Contributors: Francis Gulotta, Josh Hagins, Mark Haylock
# Copyright (c) 2015-2016 The SublimeLinter Community
# Copyright (c) 2013-2014 Aparajita Fishman
#
# License: MIT
#

"""This module exports the Rubocop plugin class."""

import os
from SublimeLinter.lint import RubyLinter


class Rubocop(RubyLinter):
"""Provides an interface to rubocop."""

syntax = (
'better rspec',
'betterruby',
Expand All @@ -28,10 +12,6 @@ class Rubocop(RubyLinter):
'ruby on rails',
'ruby'
)
cmd = None
version_args = '-S rubocop --version'
version_re = r'(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 0.34.0'
regex = (
r'^.+?:(?P<line>\d+):(?P<col>\d+): '
r'(:?(?P<warning>[RCW])|(?P<error>[EF])): '
Expand Down

0 comments on commit 6ec6d0f

Please sign in to comment.