Skip to content

Use bcrypt directly #81

Use bcrypt directly

Use bcrypt directly #81

Triggered via pull request April 12, 2024 16:30
Status Success
Total duration 55s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 1 notice
pylint(E0401): app/core/auth/functions.py#L3
[new] Unable to import 'bcrypt'
mypy(union-attr): app/core/auth/functions.py#L23
[new] Item "bytes" of "str | bytes" has no attribute "encode"
ruff(E721): app/core/auth/functions.py#L22
[new] Do not compare types, use `isinstance()`
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pylint(C0123): app/core/auth/functions.py#L22
[new] Use isinstance() rather than type() for a typecheck.