Skip to content

Commit

Permalink
fix: update deps and safety
Browse files Browse the repository at this point in the history
  • Loading branch information
Kl0ven committed Sep 12, 2024
1 parent d8ae7d8 commit 73d2455
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 341 deletions.
23 changes: 11 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_stages: [commit]
default_language_version:
node: "16.16.0"
python: "python3.9"

repos:
- repo: https://github.com/MarcoGorelli/absolufy-imports
rev: "v0.3.1"
hooks:
- id: absolufy-imports

- repo: https://github.com/ambv/black
rev: "22.6.0"
rev: "24.8.0"
hooks:
- id: black
language_version: python3.9
Expand All @@ -24,13 +22,13 @@ repos:
- toml

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["-m=VERTICAL_HANGING_INDENT", "--combine-as", "--profile=black"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.3.0"
rev: "v4.6.0"
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -45,33 +43,34 @@ repos:
- "--no-ensure-ascii"

- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: "v1.3.0"
rev: "v1.3.3"
hooks:
- id: python-safety-dependencies-check
files: pyproject.toml
args: [--disable-audit-and-monitor, -i=42835, -i=42837, -i=42836]
args: [--disable-audit-and-monitor]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: "v1.9.0"
rev: "v1.10.0"
hooks:
- id: python-no-log-warn
- id: python-check-mock-methods
- id: python-no-eval

- repo: https://github.com/PyCQA/bandit
rev: "1.7.4"
rev: "1.7.9"
hooks:
- id: bandit
files: "^admin_action_tools/.*"

- repo: https://github.com/codespell-project/codespell
rev: "v2.1.0"
rev: "v2.3.0"
hooks:
- id: codespell
args: ["-w"]
exclude: poetry.lock

- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.0.0
rev: v9.18.0
hooks:
- id: commitlint
stages: [commit-msg]
Expand Down
65 changes: 65 additions & 0 deletions .safety-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Safety Security and License Configuration file
security:
ignore-vulnerabilities:
59293:
reason: we don't rely on it.
64976:
reason: we don't rely on it.
72110:
reason: we don't rely on it.
72109:
reason: we don't rely on it.
72111:
reason: we don't rely on it.
72095:
reason: we don't rely on it.
65771:
reason: we don't rely on it.
72519:
reason: we don't rely on it.
72520:
reason: we don't rely on it.
72515:
reason: we don't rely on it.
72521:
reason: we don't rely on it.
61586:
reason: we don't rely on it.
60956:
reason: we don't rely on it.
62126:
reason: we don't rely on it.
66742:
reason: fml, dev deps
64459:
reason: fml, dev deps
64396:
reason: fml, dev deps
67895:
reason: fml, dev deps
42837:
reason: fml, dev deps
42836:
reason: fml, dev deps
67136:
reason: fml, dev deps
61489:
reason: fml, dev deps
64436:
reason: fml, dev deps
64437:
reason: fml, dev deps
62156:
reason: fml, dev deps
58910:
reason: fml, dev deps
70716:
reason: fml, dev deps
70715:
reason: fml, dev deps
63073:
reason: fml, dev deps
58755:
reason: fml, dev deps
71064:
reason: fml, dev deps
Loading

0 comments on commit 73d2455

Please sign in to comment.