This commit is contained in:
2021-11-06 14:59:22 -04:00
parent a798de21af
commit 077adf5a13
17 changed files with 613 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
default_stages: [commit]
repos:
- repo: https://github.com/psf/black
rev: 21.8b0
hooks:
- id: black
name: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
args: [--max-line-length=120]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- id: requirements-txt-fixer
- id: trailing-whitespace