Skip to content

Commit 65557e6

Browse files
committed
Print path
1 parent 1d51aae commit 65557e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/check_changelog_entries.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from pathlib import Path
77

88
VALID_CHANGELOG_TYPES = ["feature", "bugfix", "doc", "removal", "misc"]
9-
CHANGELOG_DIRECTORY = Path(__file__).parent / "changes"
9+
CHANGELOG_DIRECTORY = (Path(__file__).parent / "changes").resolve()
1010

1111

1212
def is_int(s: str) -> bool:
@@ -18,6 +18,7 @@ def is_int(s: str) -> bool:
1818
return True
1919

2020
if __name__ == "__main__":
21+
print(f"Looking for changelog entries in {CHANGELOG_DIRECTORY}")
2122
entries = CHANGELOG_DIRECTORY.glob("*")
2223
entries = [e for e in entries if e.name not in [".gitignore", "README.md"]]
2324
print(f"Found {len(entries)} entries")

0 commit comments

Comments
 (0)