Skip to content

Increase pwcrypto unit test coverage #701

Increase pwcrypto unit test coverage

Increase pwcrypto unit test coverage #701

Triggered via pull request October 10, 2025 07:23
Status Success
Total duration 32s
Artifacts

python-stylecheck.yml

on: pull_request
Style check python and annotate
27s
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#L536
Function "AESGCM" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L510
Function "AESGCM" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L389
Function "Fernet" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L375
Function "Fernet" could always be true in boolean context [truthy-function]
Style check python and annotate: mig/shared/pwcrypto.py#L68
Incompatible types in assignment (expression has type "None", variable has type "type[AESGCM]") [assignment]
Style check python and annotate: mig/shared/pwcrypto.py#L68
Cannot assign to a type [misc]
Style check python and annotate: mig/shared/pwcrypto.py#L63
Incompatible types in assignment (expression has type "None", variable has type "type[Fernet]") [assignment]
Style check python and annotate: mig/shared/pwcrypto.py#L63
Cannot assign to a type [misc]
Style check python and annotate: mig/shared/pwcrypto.py#L57
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#L1108
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L956
test for membership should be 'not in'
Style check python and annotate: mig/shared/pwcrypto.py#L882
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L878
test for membership should be 'not in'
Style check python and annotate: mig/shared/pwcrypto.py#L852
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L850
line too long (81 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L633
test for membership should be 'not in'
Style check python and annotate: mig/shared/pwcrypto.py#L436
line too long (82 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L44
line too long (84 > 80 characters)
Style check python and annotate: mig/shared/pwcrypto.py#L6
line too long (81 > 80 characters)