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

Pre commit #39

Merged
merged 5 commits into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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