Skip to content

Commit

Permalink
Merge pull request #2 from rawheel/libraries-updates
Browse files Browse the repository at this point in the history
Libraries updates and pre-commit hooks
  • Loading branch information
rawheel authored Jun 18, 2023
2 parents a4353ef + 5f57187 commit 38ec979
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ dmypy.json

# Pyre type checker
.pyre/
poetry.lock
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: double-quote-string-fixer
- id: check-added-large-files
- id: debug-statements
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.9.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.270
hooks:
- id: ruff
args:
- --fix
- --exit-non-zero-on-fix
25 changes: 13 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ authors = ["Raheel Siddiqui"]

[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.85.0"
fastapi = "^0.97.0"
FastAPI-SQLAlchemy = "^0.2.1"
orjson = "^3.8.0"
pydantic = "^1.10.2"
python-dotenv = "^0.21.0"
requests = "^2.28.1"
SQLAlchemy = "^1.4.41"
orjson = "^3.9.1"
pydantic = "^1.10.9"
python-dotenv = "^0.21.1"
requests = "^2.31.0"
SQLAlchemy = "^2.0.16"
uvicorn = "^0.18.3"
black = "^22.8.0"
alembic = "^1.8.1"
pytest = "^7.1.3"
black = "^23.3.0"
alembic = "^1.11.1"
pytest = "^7.3.2"
unittest2 = "^1.1.0"
psycopg2 = "^2.9.3"
loguru = "^0.6.0"
tenacity = "^8.0.1"
loguru = "^0.7.0"
tenacity = "^8.2.2"
psycopg = "^3.1.9"
pre-commit = "^3.3.3"

0 comments on commit 38ec979

Please sign in to comment.