drgn/.github/workflows
Stephen Brennan f1cc88378a Silence mypy warnings
With mypy 0.920, two warnings appear on current main:

$ mypy --strict --no-warn-return-any drgn _drgn.pyi
drgn/helpers/linux/__init__.py:36: error: Need type annotation for "__all__" (hint: "__all__: List[<type>] = ...")
drgn/helpers/linux/__init__.py:38: error: unused "type: ignore" comment
Found 2 errors in 1 file (checked 33 source files)

The "unused" type:ignore directive was necessary for prior versions, so
add --no-warn-unused-ignores, so that we pass on multiple versions.
Apply a List[str] annotation to the __all__ variable to silence the
other error.

Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
2021-12-16 14:46:27 -08:00
..
ci.yml Silence mypy warnings 2021-12-16 14:46:27 -08:00
dco-check.yml Skip DCO check for draft pull requests 2021-12-13 12:14:42 -08:00
vmtest-build.yml vmtest: fix vmtest kernel build command 2021-05-05 00:34:11 -07:00