Skip to content

Commit

Permalink
add some extra regular code tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanwynsbe committed May 10, 2017
1 parent 85bc419 commit 951409e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyder/utils/codeanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
#==============================================================================
# Pyflakes/pep8 code analysis
#==============================================================================
TASKS_PATTERN = r"(^|#)[ ]*(TODO|FIXME|XXX|HINT|TIP|@todo)([^#]*)"
TASKS_PATTERN = r"(^|#)[ ]*(TODO|FIXME|XXX|HINT|TIP|@todo|" \
r"HACK|BUG|OPTIMIZE|!!!|\?\?\?)([^#]*)"

#TODO: this is a test for the following function
def find_tasks(source_code):
Expand Down

0 comments on commit 951409e

Please sign in to comment.