mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 11:45:09 +02:00
Add bandit, use to catch known vulnerable XML parsing (#28341)
* Add bandit to pre-commit and CI, use to catch known vulnerable XML parsing * Use defusedxml instead of direct xml.etree to parse XML * Move config to tests/bandit.yaml
This commit is contained in:
committed by
Pascal Vizeli
parent
aef808d2bf
commit
d4c80f160c
@@ -1,5 +1,6 @@
|
||||
# Automatically generated from .pre-commit-config-all.yaml by gen_requirements_all.py, do not edit
|
||||
|
||||
bandit==1.6.2
|
||||
black==19.10b0
|
||||
flake8-docstrings==1.5.0
|
||||
flake8==3.7.9
|
||||
|
Reference in New Issue
Block a user