Skip to content

Improved coverage and fixed string checks for basic functionality of several of the pwcrypto helpers #726

Improved coverage and fixed string checks for basic functionality of several of the pwcrypto helpers

Improved coverage and fixed string checks for basic functionality of several of the pwcrypto helpers #726

Triggered via pull request October 13, 2025 09:53
Status Success
Total duration 24s
Artifacts

python-stylecheck.yml

on: pull_request
Style check python and annotate
21s
Style check python and annotate
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Style check python and annotate: mig/shared/pwcrypto.py#L537
Function "AESGCM" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L511
Function "AESGCM" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L390
Function "Fernet" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L376
Function "Fernet" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L69
Incompatible types in assignment (expression has type "None", variable has type "type[AESGCM]") [assignment]
Style check python and annotate: mig/shared/pwcrypto.py#L69
Cannot assign to a type [misc]
Style check python and annotate: mig/shared/pwcrypto.py#L64
Incompatible types in assignment (expression has type "None", variable has type "type[Fernet]") [assignment]
Style check python and annotate: mig/shared/pwcrypto.py#L64
Cannot assign to a type [misc]
Style check python and annotate: mig/shared/pwcrypto.py#L58
Incompatible types in assignment (expression has type "None", variable has type Module) [assignment]
Style check python and annotate: mig/shared/pwcrypto.py#L35
Module "base64" has no attribute "binascii" [attr-defined]
Style check python and annotate: mig/shared/pwcrypto.py#L1112
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L957
test for membership should be 'not in'
Style check python and annotate: mig/shared/pwcrypto.py#L883
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L879
test for membership should be 'not in'
Style check python and annotate: mig/shared/pwcrypto.py#L853
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L851
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L634
test for membership should be 'not in'
Style check python and annotate: mig/shared/pwcrypto.py#L437
line too long (82 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L45
line too long (84 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L6
line too long (81 > 80 characters)