Skip to content

Commit

Permalink
.coafile: Add PEP8Bear
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdealiLoKo committed Jan 29, 2016
1 parent e600444 commit e57b95c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .coafile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Default]
files = **/*.py
bears = SpaceConsistencyBear, LineLengthBear, GitCommitBear
bears = SpaceConsistencyBear, LineLengthBear, GitCommitBear, PEP8Bear
use_spaces = True
max_line_length = 80
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ __pycache__
.coverage
.coverage.*
htmlcov
*.orig
1 change: 1 addition & 0 deletions CoalaBackground.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


class CoalaBackground(sublime_plugin.EventListener):

def on_selection_modified(self, view):
"""
Show errors in the status line when the carret/selection moves.
Expand Down
1 change: 1 addition & 0 deletions CoalaCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class CoalaCommand(sublime_plugin.TextCommand):
executed using `view.run_command("coala")` - which executes the `run()`
function by default.
"""

def run(self, edit, **kwargs):
file_name = self.view.file_name()
log("Trying to run coala on", file_name)
Expand Down
1 change: 1 addition & 0 deletions CoalaThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@


class CoalaThread(threading.Thread):

def __init__(self,
view,
callback,
Expand Down
1 change: 1 addition & 0 deletions tests/UtilsTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


class UtilsTest(unittest.TestCase):

def test_retrieve_stdout(self):
with retrieve_stdout() as sio:
print("test")
Expand Down

1 comment on commit e57b95c

@AbdealiLoKo
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reack

Please sign in to comment.