diff --git a/.travis.yml b/.travis.yml index 15d0960..40eef43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python python: - - "3.3" + - "3.8" # command to install dependencies install: - pip install flake8 diff --git a/linter.py b/linter.py index 9a10bc4..50358c7 100644 --- a/linter.py +++ b/linter.py @@ -16,17 +16,11 @@ class PugLint(NodeLinter): """Provides an interface to pug-lint.""" - npm_name = 'pug-lint' cmd = 'pug-lint @ *' - executable = None - version_args = '--version' - version_re = r'(?P\d+\.\d+\.\d+)' - version_requirement = '>= 2.1.1' regex = r'^.+?:(?P\d+)(:(?P\d+) | )(?P.+)' multiline = False tempfile_suffix = 'pug' error_stream = util.STREAM_BOTH - config_file = ('--config', '.pug-lintrc', '.pug-lint.json', '.jade-lintrc', '.jade-lint.json', '~') defaults = { 'selector': 'text.pug, source.pypug, text.jade', '--reporter=': 'inline'