<commit_before>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by <NAME>
# Copyright (c) 2014 <NAME>
#
# License: MIT
#

"""This module exports the Gotype plugin class."""

from SublimeLinter.lint import Linter, util


class Gotype(Linter):

    """Provides an interface to gotype."""

    syntax = 'go'
    cmd = ('gotype', '-e')
    regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<message>.+)'
    tempfile_suffix = 'go'
    error_stream = util.STREAM_STDERR<commit_msg>Support GoSublime syntax<commit_after>#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by <NAME>
# Copyright (c) 2014 <NAME>
#
# License: MIT
#

"""This module exports the Gotype plugin class."""

from SublimeLinter.lint import Linter, util


class Gotype(Linter):

    """Provides an interface to gotype."""

    syntax = ('go', 'gosublime-go')
    cmd = ('gotype', '-e')
    regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<message>.+)'
    tempfile_suffix = 'go'
    error_stream = util.STREAM_STDERR
{'fraction_non_alphanumeric': 0.17084493964716807, 'fraction_numerical': 0.011142061281337047, 'mean_word_length': 4.013953488372093, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '848795', 'n_tokens_mistral': 415, 'n_tokens_neox': 386, 'n_words': 106}