Skip to content

Commit c16056a

Browse files
committed
bears: Rename run_bear() to run()
coala's got this as a usability fix :).
1 parent 44fbe09 commit c16056a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

bears/CommunicationBear.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44

55
class CommunicationBear(LocalBear):
6-
def run_bear(self,
7-
filename,
8-
file,
9-
user_input: str):
6+
def run(self,
7+
filename,
8+
file,
9+
user_input: str):
1010
"""
1111
Communicates with the user.
1212

bears/HelloWorldBear.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
class HelloWorldBear(LocalBear):
5-
def run_bear(self,
6-
filename,
7-
file):
5+
def run(self,
6+
filename,
7+
file):
88
self.debug_msg("Hello World! Checking file", filename, ".")

0 commit comments

Comments
 (0)