diff --git a/linter.py b/linter.py index 4841e0d..2e68ccc 100644 --- a/linter.py +++ b/linter.py @@ -1,10 +1,10 @@ -from SublimeLinter.lint import Linter # or NodeLinter, PythonLinter, ComposerLinter, RubyLinter +from SublimeLinter.lint import PythonLinter -class __class__(Linter): - cmd = '__cmd__' - regex = r'' - multiline = False +class Darglint(PythonLinter): + cmd = ('darglint', '${args}', '-') + regex = r'^.+?:(?P.+):(?P\d+): (?:(?PI\d+)|(?P