Skip to content

Commit

Permalink
bandit
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Nov 27, 2023
1 parent ba33901 commit c6630c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 73 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var/
/sources/
/venv/
.installed.txt

forest.*

##
# Add extra configuration options in .meta.toml:
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ repos:
hooks:
- id: i18ndude

- repo: https://github.com/PyCQA/bandit
rev: "1.7.5"
hooks:
- id: bandit
args: ['-c', 'pyproject.toml', '-r']

##
# Add extra configuration options in .meta.toml:
Expand Down
72 changes: 0 additions & 72 deletions src/pas/plugins/passwordstrength/locales/update.py

This file was deleted.

1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ commands =
pre-commit run -a isort
pre-commit run -a black
pre-commit run -a zpretty
pre-commit run -a bandit

[testenv:lint]
description = run linters that will help improve the code style
Expand Down

0 comments on commit c6630c3

Please sign in to comment.