Skip to content
Snippets Groups Projects
Commit 037f4f2d authored by David Bergström's avatar David Bergström
Browse files

Make main.py compliant with PEP 8: Two spaces after class or function definition

parent e957f615
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ import os ...@@ -2,6 +2,7 @@ import os
from library import * from library import *
class MyAgent(IDABot): class MyAgent(IDABot):
def __init__(self): def __init__(self):
IDABot.__init__(self) IDABot.__init__(self)
...@@ -12,6 +13,7 @@ class MyAgent(IDABot): ...@@ -12,6 +13,7 @@ class MyAgent(IDABot):
def on_step(self): def on_step(self):
IDABot.on_step(self) IDABot.on_step(self)
def main(): def main():
coordinator = Coordinator() coordinator = Coordinator()
bot1 = MyAgent() bot1 = MyAgent()
...@@ -31,5 +33,6 @@ def main(): ...@@ -31,5 +33,6 @@ def main():
while coordinator.update(): while coordinator.update():
pass pass
if __name__ == "__main__": if __name__ == "__main__":
main() main()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment