Skip to content

Commit

Permalink
.py files: Use lowercase 'c'
Browse files Browse the repository at this point in the history
Closes: coala#30
  • Loading branch information
RohanVB committed Mar 31, 2017
1 parent 56d4c25 commit 0765e5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CoalaBackground.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .Utils import log, COALA_KEY


class CoalaBackground(sublime_plugin.EventListener):
class coalaBackground(sublime_plugin.EventListener):

def on_selection_modified(self, view):
"""
Expand Down
8 changes: 4 additions & 4 deletions CoalaCommand.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sublime_plugin
import sublime
import json
from .CoalaThread import CoalaThread
from .coalaThread import coalaThread
from .Utils import log, COALA_KEY


Expand All @@ -26,9 +26,9 @@ def show_output(view):
view.add_regions(COALA_KEY, regions, COALA_KEY, "dot", region_flag)


class CoalaCommand(sublime_plugin.TextCommand):
class coalaCommand(sublime_plugin.TextCommand):
"""
The CoalaCommand inherits the TextCommand from sublime_plugin and can be
The coalaCommand inherits the TextCommand from sublime_plugin and can be
executed using `view.run_command("coala")` - which executes the `run()`
function by default.
"""
Expand All @@ -37,7 +37,7 @@ def run(self, edit, **kwargs):
file_name = self.view.file_name()
log("Trying to run coala on", file_name)
if file_name:
thread = CoalaThread(self.view, show_output)
thread = coalaThread(self.view, show_output)
thread.start()
self.progress_tracker(thread)
else:
Expand Down
2 changes: 1 addition & 1 deletion CoalaThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .Utils import log, COALA_KEY


class CoalaThread(threading.Thread):
class coalaThread(threading.Thread):

def __init__(self,
view,
Expand Down

0 comments on commit 0765e5a

Please sign in to comment.