Skip to content

Commit

Permalink
Update .pre-commit-config.yaml (#26)
Browse files Browse the repository at this point in the history
* Update .pre-commit-config.yaml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fmt

* fmt

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
tschm and pre-commit-ci[bot] authored Jan 21, 2025
1 parent 0511f08 commit d80c63c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ repos:
hooks:
- id: typos
exclude: ^\.gitignore$

- repo: https://github.com/PyCQA/bandit
rev: 1.8.2
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ packages = ["src/cvx"]

[tool.deptry.per_rule_ignores]
DEP002 = ["clarabel"]

[tool.bandit]
exclude_dirs = ["tests"]

0 comments on commit d80c63c

Please sign in to comment.