Don't attempt to register if it is disabled

This commit is contained in:
2022-07-21 13:39:56 +01:00
parent 2177766d90
commit 404fdb000f
2 changed files with 18 additions and 0 deletions

13
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
args:
- --line-length=120
- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
args:
- "--max-line-length=120"