Skip to content

Commit

Permalink
Drop Bandit from requirements (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 authored Oct 29, 2024
1 parent 30379e7 commit 2316a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
pre-commit:
commands:
bandit:
glob: "*.py"
staged_files: true
run: bandit {staged_files} -c pyproject.toml
ruff-check:
glob: "*.py"
staged_files: true
run: ruff check {staged_files} --fix --exit-non-zero-on-fix --config pyproject.toml
ruff-fmt:
glob: "*.py"
staged_files: true
run: ruff format {staged_files} --config pyproject.toml
run: ruff format {staged_files} --config pyproject.toml
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Development libraries
lefthook>=1.7.22,<2
bandit[toml]>=1.7.10,<2
pyright>=1.1.355,<2
ruff>=0.3.4,<1
tox>=4.14.2,<5
tox>=4.14.2,<5

0 comments on commit 2316a4b

Please sign in to comment.