safety check is done successfully but exit code is 255
minyoung90 opened this issue · 2 comments
minyoung90 commented
- safety version: 1.10.3
- Python version: 3.9
- Operating System: ubuntu 20.04
Description
I ran this command
> safety check
+==============================================================================+
| |
| /$$$$$$ /$$ |
| /$$__ $$ | $$ |
| /$$$$$$$ /$$$$$$ | $$ \__//$$$$$$ /$$$$$$ /$$ /$$ |
| /$$_____/ |____ $$| $$$$ /$$__ $$|_ $$_/ | $$ | $$ |
| | $$$$$$ /$$$$$$$| $$_/ | $$$$$$$$ | $$ | $$ | $$ |
| \____ $$ /$$__ $$| $$ | $$_____/ | $$ /$$| $$ | $$ |
| /$$$$$$$/| $$$$$$$| $$ | $$$$$$$ | $$$$/| $$$$$$$ |
| |_______/ \_______/|__/ \_______/ \___/ \____ $$ |
| /$$ | $$ |
| | $$$$$$/ |
| by pyup.io \______/ |
| |
+==============================================================================+
| REPORT |
| checked 99 packages, using free DB (updated once a month) |
+============================+===========+==========================+==========+
| package | installed | affected | ID |
+============================+===========+==========================+==========+
| sqlalchemy-utils | 0.37.9 | >=0.27.0 | 42194 |
+==============================================================================+
> echo $?
255
This makes some script pipelines be failed because of exit code (what I expected...)
What I Did
I don't know how to deal with it.
Below is my setting.
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.2.1
hooks:
- id: python-safety-dependencies-check
args: [--ignore=42194]
minyoung90 commented
My mistake, I just added ignore setting to only pre-commit setting!
Ruslan-Skira commented
Explain please what does it mean --ignore=42194 (ID). Does it an issue or not?
Because it is still opened issue. kvesteri/sqlalchemy-utils#166.
And you decided to ignore it temporarily?