Replace bandit with ruff (#93200)

This commit is contained in:
Ville Skyttä
2023-06-08 23:46:04 +03:00
committed by GitHub
parent f7938c940c
commit ca936d0b38
16 changed files with 36 additions and 61 deletions

View File

@@ -22,15 +22,6 @@ repos:
- --quiet-level=2
exclude_types: [csv, json]
exclude: ^tests/fixtures/|homeassistant/generated/
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
args:
- --quiet
- --format=custom
- --configfile=tests/bandit.yaml
files: ^(homeassistant|script|tests)/.+\.py$
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks: