From 037f4f2d2c16b5866edd7af3fdb41980654c1e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Bergstr=C3=B6m?= <davbe125@student.liu.se> Date: Mon, 3 Sep 2018 08:51:13 +0200 Subject: [PATCH] Make main.py compliant with PEP 8: Two spaces after class or function definition --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index e74f03c..6c4b705 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import os from library import * + class MyAgent(IDABot): def __init__(self): IDABot.__init__(self) @@ -12,6 +13,7 @@ class MyAgent(IDABot): def on_step(self): IDABot.on_step(self) + def main(): coordinator = Coordinator() bot1 = MyAgent() @@ -31,5 +33,6 @@ def main(): while coordinator.update(): pass + if __name__ == "__main__": main() \ No newline at end of file -- GitLab