Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Thanks to KristoforMaynard for the following additions:
**2012-09-06**

* Pylinter now allows for platform and/or host specific configuration to be
stored in a single configuration file. This is particulary useful for the
stored in a single configuration file. This is particularly useful for the
``pylint_path`` setting.

Simply change a setting like
Expand Down Expand Up @@ -102,7 +102,7 @@ Thanks to KristoforMaynard for the following additions:
``#pylint: disable=`` statements/comments.
* Included wuub's error colouring. Either use the included
``MonokaiPylinter.tmTheme`` file, or have a look at it to see how you can
colour the different erros and warnings.
colour the different errors and warnings.



Expand Down
12 changes: 6 additions & 6 deletions pylinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
# Indicates if we're displaying info in the status line
STATUS_ACTIVE = False

# The followig global values will be set by the `set_globals` function
# The following global values will be set by the `set_globals` function
PYLINT_VERSION = None
PYLINT_SETTINGS = None
# Regular expression to disect Pylint error messages
# Regular expression to dissect Pylint error messages
P_PYLINT_ERROR = None

# The default Pylint command will be stored in this variable. It will either be
Expand All @@ -79,7 +79,7 @@ def plugin_loaded():

# Pylint version < 1.0
if PYLINT_VERSION[0] == 0:
# Regular expression to disect Pylint error messages
# Regular expression to dissect Pylint error messages
P_PYLINT_ERROR = re.compile(r"""
^(?P<file>.+?):(?P<line>[0-9]+):\ # file name and line number
\[(?P<type>[a-z])(?P<errno>\d+) # message type and error number
Expand Down Expand Up @@ -434,7 +434,7 @@ def is_enabled(self):


class PylintThread(threading.Thread):
""" This class creates a seperate thread to run Pylint in """
""" This class creates a separate thread to run Pylint in """

def __init__(self, view, pbin, ppath, cwd, lpath, lrc, ignore,
disable_msgs, extra_pylint_args, plugins):
Expand Down Expand Up @@ -525,8 +525,8 @@ def process_errors(self, lines, errlines):
view_id = self.view.id()
PYLINTER_ERRORS[view_id] = {"visible": True}

# if pylint raised any exceptions, propogate those to the user, for
# instance, trying to disable a messaage id that does not exist
# if pylint raised any exceptions, propagate those to the user, for
# instance, trying to disable a message id that does not exist
if len(errlines) > 1:
err = errlines[-2]
if not err.startswith("No config file found"):
Expand Down