From 51291108abd5e0965b286c883604fbcdba79de2a Mon Sep 17 00:00:00 2001 From: Thekiddiejsandpython Date: Tue, 25 Oct 2016 07:24:24 -0600 Subject: [PATCH 1/2] Update python.coffee empty if and loop message --- src/languages/python.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/languages/python.coffee b/src/languages/python.coffee index cfaabad5..3862b3c0 100644 --- a/src/languages/python.coffee +++ b/src/languages/python.coffee @@ -89,7 +89,7 @@ module.exports = class Python extends Language type: 'transpile' reporter: 'aether' level: 'warning' - message: "Empty loop. Put 4 spaces in front of statements inside loops." + message: "Empty loop. Put 4 spaces in front of statements inside loops. Hint: you can do that by pressing the \"Tab\" button on your keyboard a the start of a new line." range: [ ofs: node.range[0] row: node.loc.start.line - 1 @@ -111,7 +111,7 @@ module.exports = class Python extends Language reporter: 'aether' level: 'warning' # TODO: Try 'belong to' instead of 'inside' if players still have problems - message: "Empty if statement. Put 4 spaces in front of statements inside the if statement." + message: "Empty if statement. Put 4 spaces in front of statements inside the if statement. Hint: you can do that by pressing the \"Tab\" button on your keyboard a the start of a new line." range: [ ofs: node.range[0] row: node.loc.start.line - 1 From 3f2944953e4d653a367e29c6d53af2af20e46ce8 Mon Sep 17 00:00:00 2001 From: Thekiddiejsandpython Date: Wed, 26 Oct 2016 11:50:55 -0600 Subject: [PATCH 2/2] Update empty if and loop messgae --- src/languages/python.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/languages/python.coffee b/src/languages/python.coffee index 3862b3c0..ee8b9b91 100644 --- a/src/languages/python.coffee +++ b/src/languages/python.coffee @@ -89,7 +89,7 @@ module.exports = class Python extends Language type: 'transpile' reporter: 'aether' level: 'warning' - message: "Empty loop. Put 4 spaces in front of statements inside loops. Hint: you can do that by pressing the \"Tab\" button on your keyboard a the start of a new line." + message: "Empty loop. Put 4 spaces in front of statements inside loops. Hint: Press \"Tab\" a the start of a new line." range: [ ofs: node.range[0] row: node.loc.start.line - 1 @@ -111,7 +111,7 @@ module.exports = class Python extends Language reporter: 'aether' level: 'warning' # TODO: Try 'belong to' instead of 'inside' if players still have problems - message: "Empty if statement. Put 4 spaces in front of statements inside the if statement. Hint: you can do that by pressing the \"Tab\" button on your keyboard a the start of a new line." + message: "Empty if statement. Put 4 spaces in front of statements inside the if statement. Hint: Press \"Tab\" a the start of a new line." range: [ ofs: node.range[0] row: node.loc.start.line - 1