Skip to content

Commit 3da0310

Browse files
committed
reduce cruft
1 parent 82414bc commit 3da0310

File tree

3 files changed

+3
-32
lines changed

3 files changed

+3
-32
lines changed

.sublimelinterrc

Lines changed: 0 additions & 14 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
language: python
22
python:
33
- "3.6"
4-
# command to install dependencies
54
install:
65
- pip install flake8
7-
# command to run tests
86
script:
97
- flake8 . --max-line-length=120

linter.py

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
#
2-
# linter.py
3-
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
4-
#
5-
# Written by Aparajita Fishman
6-
# Copyright (c) 2015-2017 The SublimeLinter Community
7-
# Copyright (c) 2013-2014 Aparajita Fishman
8-
#
9-
# License: MIT
10-
#
11-
12-
"""This module exports the HtmlTidy plugin class."""
13-
141
from SublimeLinter.lint import Linter, util
152

163

174
class HtmlTidy(Linter):
18-
"""Provides an interface to tidy."""
19-
20-
syntax = 'html'
215
regex = r'^line (?P<line>\d+) column (?P<col>\d+) - (?:(?P<error>Error)|(?P<warning>Warning)): (?P<message>.+)'
226
error_stream = util.STREAM_STDERR
7+
defaults = {
8+
'selector': 'text.html.basic'
9+
}
2310

2411
def cmd(self):
2512
"""Return a tuple with the command line to execute."""

0 commit comments

Comments
 (0)