Skip to content

Commit

Permalink
Merge pull request #4456 from cvanwynsberghe/add-annotation-3.x
Browse files Browse the repository at this point in the history
PR: Add more regular code annotation types
  • Loading branch information
ccordoba12 authored May 10, 2017
2 parents 85bc419 + 951409e commit 67857dd
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 67857dd

Please sign in to comment.