Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python.coffee empty if and loop message #166

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/languages/python.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Choose a reason for hiding this comment

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

Typo here and line 114? 'Press "Tab" a the start of a new line.' -> 'Press "Tab" at the start of a new line.'

range: [
ofs: node.range[0]
row: node.loc.start.line - 1
Expand All @@ -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
Expand Down