Skip to content

Ensure mypy strict works, drop Python 3.7 #29

Ensure mypy strict works, drop Python 3.7

Ensure mypy strict works, drop Python 3.7 #29

Triggered via push August 18, 2023 11:36
Status Failure
Total duration 49s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
mypy: docs/conf.py#L61
Need type annotation for "about" (hint: "about: Dict[<type>, <type>] = ...") [var-annotated]
mypy: docs/conf.py#L214
Need type annotation for "latex_elements" (hint: "latex_elements: Dict[<type>, <type>] = ...") [var-annotated]
mypy: setup.py#L3
Skipping analyzing "setuptools": module is installed, but missing library stubs or py.typed marker [import]
mypy: setup.py#L7
Need type annotation for "about" (hint: "about: Dict[<type>, <type>] = ...") [var-annotated]
mypy: setup.py#L14
Incompatible types in assignment (expression has type "None", variable has type "str") [assignment]
mypy: signify/authenticode/authroot.py#L9
Cannot find implementation or library stub for module named "mscerts" [import]
mypy: signify/authenticode/authroot.py#L9
See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
mypy: signify/authenticode/structures.py#L38
Cannot find implementation or library stub for module named "mscerts" [import]
mypy: tests/test_signerinfo.py#L7
Module "signify.pkcs7.signerinfo" does not explicitly export attribute "_get_digest_algorithm" [attr-defined]
mypy: tests/test_signerinfo.py#L11
Function is missing a return type annotation [no-untyped-def]
flake8
The following actions uses node12 which is deprecated and will be forced to run on node16: liskin/gh-problem-matcher-wrap@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/