Skip to content

Commit c1ff3ba

Browse files
committed
STY: Get GHA passing.
1 parent ec44149 commit c1ff3ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/check_python_h_first/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44

55
if sys.version_info[:2] >= (3, 8):
6-
# TODO: Import directly (no need for conditional) when `python_requires = >= 3.8`
6+
# Import directly (no need for conditional) when `python_requires = >= 3.8`
77
from importlib.metadata import PackageNotFoundError, version # pragma: no cover
88
else:
99
from importlib_metadata import PackageNotFoundError, version # pragma: no cover

src/check_python_h_first/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"Expects relative paths",
1616
)
1717
PARSER.add_argument(
18-
"--version", action="version", version="check_python_h_first {__version__}"
18+
"--version", action="version", version=f"check_python_h_first {__version__}"
1919
)
2020

2121

src/check_python_h_first/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def sort_order(path: str) -> tuple[int, str]:
3535
priority : int
3636
path : str
3737
"""
38-
# TODO: generalize for different projects
38+
# I should generalize this for different projects
3939
if "include/numpy" in path:
4040
# Want to process numpy/*.h first, to work out which of those
4141
# include Python.h directly

0 commit comments

Comments
 (0)