mirror of https://github.com/Yubico/python-fido2
pre-commit: add bandit hook and config file
This commit is contained in:
parent
4b85952e03
commit
a94211a0d9
|
@ -3,8 +3,14 @@ repos:
|
|||
rev: 3.7.9
|
||||
hooks:
|
||||
- id: flake8
|
||||
exclude: '^(fido2|test)/_pyu2f/.*'
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 19.10b0
|
||||
hooks:
|
||||
- id: black
|
||||
exclude: '^(fido2|test)/_pyu2f/.*'
|
||||
exclude: '^(fido2|test)/_pyu2f/.*'
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.6.2
|
||||
hooks:
|
||||
- id: bandit
|
||||
exclude: ^test/
|
||||
|
|
Loading…
Reference in New Issue