emacs: type-check update-from-overlay.py with mypy

This commit is contained in:
Lin Jian
2026-03-03 17:27:20 +08:00
parent 7e461c3076
commit ae4c428a2f
@@ -3,6 +3,7 @@
# linter: ruff check update-from-overlay.py
# formatter: ruff format update-from-overlay.py
# type-checker: mypy update-from-overlay.py
import argparse
import contextlib
@@ -220,7 +221,7 @@ def check_fileset(
cmdline = [
"nix-instantiate",
"--show-trace",
here_directory.git_root(),
str(here_directory.git_root()),
"-A",
f"emacsPackages.{nix_attr}",
]