add .pre-commit-config.yaml

This commit is contained in:
Dan Bungert 2023-07-24 11:16:53 -06:00
parent b71662e726
commit 88a584e040
1 changed files with 11 additions and 0 deletions

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

@ -0,0 +1,11 @@
files: "(console_conf|subiquity|subiquitycore|system_setup)"
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort