Add precommit and basic sqlalchemy setup

This commit is contained in:
Joey Yakimowich-Payne 2023-08-09 11:00:55 -06:00
commit a0110c552e
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
7 changed files with 285 additions and 2 deletions

18
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,18 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.10.0
hooks:
- id: reorder-python-imports