fix: Address high-severity bandit issues
This commit is contained in:
@@ -41,23 +41,13 @@ repos:
|
||||
rev: 7.0.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
args: [--max-line-length=100, --extend-ignore=E203]
|
||||
additional_dependencies: [flake8-docstrings]
|
||||
|
||||
# Python type checking (optional, can be slow)
|
||||
# - repo: https://github.com/pre-commit/mirrors-mypy
|
||||
# rev: v1.8.0
|
||||
# hooks:
|
||||
# - id: mypy
|
||||
# additional_dependencies: [types-all]
|
||||
# args: [--ignore-missing-imports, --no-strict-optional]
|
||||
|
||||
# Security checks
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.7.6
|
||||
hooks:
|
||||
- id: bandit
|
||||
args: [-r, tools/, -ll]
|
||||
exclude: tests/
|
||||
|
||||
# Configuration
|
||||
|
||||
Reference in New Issue
Block a user