Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #39 from SELab-2/pre-commit
Browse files Browse the repository at this point in the history
Pre commit
  • Loading branch information
msathieu authored Mar 3, 2024
2 parents ada1130 + 0166620 commit b7fcd09
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions backend/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: local
hooks:
- id: ruff-check
name: ruff linting check
entry: ruff check
language: system
types: [python]
always_run: true
- id: pyright
name: pyright linting check
entry: pyright
language: system
types: [python]
always_run: true
3 changes: 2 additions & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ greenlet==3.0.3
h11==0.14.0
idna==3.6
nodeenv==1.8.0
pre-commit==3.6.2
psycopg2-binary==2.9.9
pydantic==2.6.3
pydantic_core==2.16.3
pyright==1.1.351
pyright==1.1.352
ruff==0.2.2
setuptools==69.1.1
sniffio==1.3.1
Expand Down

0 comments on commit b7fcd09

Please sign in to comment.