$ uv run gz typecheck

[returncode] 0

[stdout]
Running type checker...
warning: Unused `ty: ignore` directive
   --> src/gzkit/complexity/advisor/timeout.py:101:60
    |
101 |     old_handler = signal.signal(signal.SIGALRM, _handler)  # ty: ignore
    |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: Remove the unused suppression comment
98  |
99  |     # POSIX-only signal attributes; this function is guarded at call site
by
100 |     # platform.system() != "Windows" — ty cannot infer the runtime guard.
    -     old_handler = signal.signal(signal.SIGALRM, _handler)  # ty: ignore
101 +     old_handler = signal.signal(signal.SIGALRM, _handler)
102 |     signal.setitimer(signal.ITIMER_REAL, timeout_s)  # ty: ignore
103 |     try:
104 |         result = callable_()

warning: Unused `ty: ignore` directive
   --> src/gzkit/complexity/advisor/timeout.py:102:54
    |
102 |     signal.setitimer(signal.ITIMER_REAL, timeout_s)  # ty: ignore
    |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: Remove the unused suppression comment
99  |     # POSIX-only signal attributes; this function is guarded at call site
by
100 |     # platform.system() != "Windows" — ty cannot infer the runtime guard.
101 |     old_handler = signal.signal(signal.SIGALRM, _handler)  # ty: ignore
    -     signal.setitimer(signal.ITIMER_REAL, timeout_s)  # ty: ignore
102 +     signal.setitimer(signal.ITIMER_REAL, timeout_s)
103 |     try:
104 |         result = callable_()
105 |     except _TimeoutError:

warning: Unused `ty: ignore` directive
   --> src/gzkit/complexity/advisor/timeout.py:108:50
    |
108 |         signal.setitimer(signal.ITIMER_REAL, 0)  # ty: ignore
    |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: Remove the unused suppression comment
105 |     except _TimeoutError:
106 |         return _SENTINEL_TIMED_OUT
107 |     finally:
    -         signal.setitimer(signal.ITIMER_REAL, 0)  # ty: ignore
108 +         signal.setitimer(signal.ITIMER_REAL, 0)
109 |         signal.signal(signal.SIGALRM, old_handler)  # ty: ignore
110 |     return result
111 |

warning: Unused `ty: ignore` directive
   --> src/gzkit/complexity/advisor/timeout.py:109:53
    |
109 |         signal.signal(signal.SIGALRM, old_handler)  # ty: ignore
    |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: Remove the unused suppression comment
106 |         return _SENTINEL_TIMED_OUT
107 |     finally:
108 |         signal.setitimer(signal.ITIMER_REAL, 0)  # ty: ignore
    -         signal.signal(signal.SIGALRM, old_handler)  # ty: ignore
109 +         signal.signal(signal.SIGALRM, old_handler)
110 |     return result
111 |
112 |

warning: Unused blanket `type: ignore` directive
  --> src/gzkit/governance/compose.py:69:53
   |
69 |         from jinja2 import BaseLoader, Environment  # type: ignore
   |                                                     ^^^^^^^^^^^^^^
   |
help: Remove the unused suppression comment
66 |     template_text = template_path.read_text(encoding="utf-8")
67 |
68 |     try:
   -         from jinja2 import BaseLoader, Environment  # type: ignore
69 +         from jinja2 import BaseLoader, Environment
70 |
71 |         env = Environment(loader=BaseLoader(), keep_trailing_newline=True)
72 |         tmpl = env.from_string(template_text)

Found 5 diagnostics

Type check passed.


[stderr]
