add pre-commit hook

This commit is contained in:
lanvent
2023-04-17 00:57:48 +08:00
parent 583440b82b
commit 3b8972ce1f
2 changed files with 42 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[flake8]
max-line-length = 88
select = E303,W293,W291,W292,E305,E231,E302
exclude =
.tox,
__pycache__,
*.pyc,
.env
venv/*
.venv/*
reports/*
dist/*
lib/*