Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.py files: Use lowercase 'c' #32

Closed
wants to merge 1 commit into from
Closed
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
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