feat: first commit

This commit is contained in:
Simon Guigui
2023-11-25 18:22:45 +01:00
commit c0948a60c3
13 changed files with 1618 additions and 0 deletions

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

@@ -0,0 +1,27 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: black
name: black
entry: poetry run black src
language: system
types: [python]
pass_filenames: false
- id: ruff
name: ruff
entry: poetry run ruff --fix src
language: system
types: [python]
pass_filenames: false
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.2
hooks:
- id: prettier