#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Aparajita Fishman
# Copyright (c) 2013 Aparajita Fishman
#
# Project: https://github.com/SublimeLinter/SublimeLinter-contrib-pep257
# License: MIT
#

"""This module exports the PEP257 plugin linter class."""

import os

from SublimeLinter.lint import highlight, PythonLinter


class PEP257(PythonLinter):

    """Provides an interface to the pep257 python module/script."""

    language = 'python'
    cmd = ('pep257@python', '-')
    regex = r'^.+?:(?P<line>\d+):(?P<col>\d+): (?P<message>.+)'
    default_type = highlight.WARNING
    line_col_base = (1, 0)  # pep257 uses one-based line and zero-based column numbers
    module = 'pep257'

    def check(self, code, filename):
        """Run pep257 on code and return the output."""
        return self.module.check_source(code, os.path.basename(filename))

#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Aparajita Fishman
# Copyright (c) 2013 Aparajita Fishman
#
# Project: https://github.com/SublimeLinter/SublimeLinter-contrib-pep257
# License: MIT
#

"""This module exports the PEP257 plugin linter class."""

import os

from SublimeLinter.lint import highlight, PythonLinter


class PEP257(PythonLinter):

    """Provides an interface to the pep257 python module/script."""

    syntax = 'python'
    cmd = ('pep257@python', '-')
    regex = r'^.+?:(?P<line>\d+):(?P<col>\d+): (?P<message>.+)'
    default_type = highlight.WARNING
    line_col_base = (1, 0)  # pep257 uses one-based line and zero-based column numbers
    module = 'pep257'

    def check(self, code, filename):
        """Run pep257 on code and return the output."""
        return self.module.check_source(code, os.path.basename(filename))

Change 'language' to 'syntax', that is more precise terminology.
Change 'language' to 'syntax', that is more precise terminology.
