mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-17 16:34:48 -05:00
check-internal-links.py: hoist 'import fnmatch' from inside the if args.exclude block to the module import group. check_workflow_fork_safety.py: resolve WORKFLOW_DIR relative to __file__ (.github/scripts/) instead of the caller's cwd, so the check works when invoked standalone, not only when pre-commit runs it from the repo root.