Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
"""This module exports the HtmlTidy plugin class."""

from SublimeLinter.lint import Linter, util
import shutil


class HtmlTidy(Linter):

"""Provides an interface to tidy."""

syntax = 'html'
if shutil.which('tidy5'):
if Linter.which('tidy5'):
cmd = 'tidy5 -errors -quiet -utf8'
else:
cmd = 'tidy -errors -quiet -utf8'
Expand Down