Skip to content

Commit d18a219

Browse files
committed
fix authors path regex and test print for notebook checker
1 parent f864937 commit d18a219

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ repos:
6262
name: author-check
6363
entry: resources/author-check.py
6464
language: system
65-
files: authors/*\.toml
65+
files: authors/.*\.toml

resources/toml-check.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def error(msg):
1212

1313
for f in sys.argv[1:]:
1414

15+
print(f"Checking {f}...")
1516
with open(f, 'r') as infile:
1617
info = tomllib.loads(infile.read())
1718

0 commit comments

Comments
 (0)