Daniel Kantor commited on
Commit
d816011
·
1 Parent(s): 9674413

add pre-commit config

Browse files
.pre-commit-config.yaml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v2.3.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: end-of-file-fixer
7
+ - id: trailing-whitespace
8
+ - repo: https://github.com/psf/black
9
+ rev: 22.10.0
10
+ hooks:
11
+ - id: black
backend/poetry.lock ADDED
The diff for this file is too large to render. See raw diff
 
backend/pyproject.toml CHANGED
@@ -25,7 +25,8 @@ pytest = "^8.3.4"
25
  black = "^24.10.0"
26
  isort = "^5.13.2"
27
  flake8 = "^6.1.0"
28
-
 
29
  [build-system]
30
  requires = ["poetry-core>=1.0.0"]
31
- build-backend = "poetry.core.masonry.api"
 
25
  black = "^24.10.0"
26
  isort = "^5.13.2"
27
  flake8 = "^6.1.0"
28
+ pre-commit = "^4.1.0"
29
+
30
  [build-system]
31
  requires = ["poetry-core>=1.0.0"]
32
+ build-backend = "poetry.core.masonry.api"