Skip to content

Commit

Permalink
Add todo suppress to some edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
trentonyo committed Jun 17, 2024
1 parent 14432bd commit fce1a8d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "todo-or-not"
version = "0.13.1"
version = "0.13.2"
description = "todoon integrates the TODOs in your codebase with your GitHub repository"
authors = ["TrentonYo <trentonyo@gmail.com>"]
license = "GPL-3.0-only"
Expand Down
4 changes: 2 additions & 2 deletions todo_or_not/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import datetime

#####################################################
# VITAL: SEE /scripts/_update_versions.py !!!
#
# If updating manually, also consider pyproject.toml
#
#####################################################

__version__ = "0.13.1"
__version__ = "0.13.2"
iso_string = "2024-06-16"

version_date = datetime.date.fromisoformat(iso_string)
8 changes: 4 additions & 4 deletions todo_or_not/todo_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def find_hits(
file_extension = filename.rsplit(".", 1)[-1]
file_language = find_language(file_extension)

# If that language does not yet have a parser built, we must build one (note that calling the TodoGrammar
# constructor with the file_extension will functional identically between different file extensions for
# the same language)
# If that language does not yet have a parser built, we must build one (note that calling the
# TodoGrammar constructor with the file_extension will functional identically between different # todoon
# file extensions for the same language)
if file_language not in parsers.keys():
parsers[file_language] = TodoGrammar(file_extension)
parsers[file_language].build()
Expand Down Expand Up @@ -574,7 +574,7 @@ def todoon(
summary += "# (ISSUE MODE)\n"

# Number of TODOs and FIXMEs found
summary += f"# {number_of_todo} TODO | {number_of_fixme} FIXME\n"
summary += f"# {number_of_todo} TODO | {number_of_fixme} FIXME\n" # todoon

# Number of encoding failures
if number_of_encoding_failures > 1:
Expand Down

0 comments on commit fce1a8d

Please sign in to comment.