Adds Pre-Commit and Main Script

This commit is contained in:
2023-06-11 16:02:08 -03:00
parent 971b41a2aa
commit 82f3092f3e
3 changed files with 232 additions and 1 deletions

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

@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
args: [--config=pyproject.toml]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
files: "\\.(py)$"
args: [--settings-path=pyproject.toml]