-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from Start-Out/dev/feature/formatted-comment-…
…grammar Feature: TODO Grammar 📑
- Loading branch information
Showing
26 changed files
with
1,654 additions
and
715 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...s/resources/closed_issue/closed_issue.txt → tests/resources/closed_issue/closed_issue.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
def a_closed_example(): | ||
# TODO Closed Issues are helpful! | This issue is closed, but the TODO string is still in the codebase! | ||
print("This should be a red flag, because if the issue is still in the code then something isn't done yet") | ||
print( | ||
"This should be a red flag, because if the issue is still in the code then something isn't done yet" | ||
) | ||
print("(Though it may simply be that the comment hasn't been removed)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
tests/resources/singular/singular.txt → tests/resources/singular/singular.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
def an_unfinished_function(): | ||
# TODO Finish documenting todo-or-not | ||
void an_unfinished_function(): | ||
// TODO Finish documenting todo-or-not | ||
print("Hello, I'm not quite done, there's more to do!") | ||
print("Look at all these things I have to do!") | ||
a = 1 + 1 | ||
b = a * 2 | ||
int a = 1 + 1 | ||
int b = a * 2 | ||
print("Okay I'm done!") | ||
|
||
|
||
def a_closed_example(): | ||
# TODO Closed Issues are helpful! | This issue is closed, but the TODO string is still in the codebase! | ||
void a_closed_example(): | ||
// TODO Closed Issues are helpful! | This issue is closed, but the TODO string is still in the codebase! | ||
print("This should be a red flag, because if the issue is still in the code then something isn't done yet") | ||
print("(Though it may simply be that the comment hasn't been removed)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# TODO R |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
TODO S/T | ||
// TODO S/T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.