fix: linting issues

This commit is contained in:
swve 2024-03-19 21:52:51 +01:00
parent 1987e56b9a
commit 1709804d5c
3 changed files with 27 additions and 37 deletions

View file

@ -1,43 +1,42 @@
[tool.ruff]
ignore = ["E501", "E712"]
lint.ignore = ["E501", "E712"]
[tool.poetry]
name = "learnhouse-api"
version = "0.1.0"
description = "Learnhouse Backend"
authors = ["Badr B. (swve)"]
description = "Learnhouse Backend"
name = "learnhouse-api"
readme = "README.md"
version = "0.1.0"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "0.109.2"
pydantic = {version = ">=1.8.0,<2.0.0", extras = ["email"]}
sqlmodel = "0.0.10"
uvicorn = "0.27.1"
psycopg2 = "^2.9.9"
python-multipart = "^0.0.7"
boto3 = "^1.34.17"
botocore = "^1.34.17"
python-jose = "^3.3.0"
passlib = "^1.7.4"
fastapi-jwt-auth = "^0.5.0"
pytest = "^7.4.4"
httpx = "^0.26.0"
faker = "^22.2.0"
requests = "^2.31.0"
pyyaml = "^6.0.1"
sentry-sdk = {extras = ["fastapi"], version = "^1.39.2"}
langchain = "0.1.0"
tiktoken = "^0.5.2"
openai = "^1.7.1"
chromadb = "^0.4.22"
python-dotenv = "^1.0.0"
redis = "^5.0.1"
faker = "^22.2.0"
fastapi = "0.109.2"
fastapi-jwt-auth = "^0.5.0"
httpx = "^0.26.0"
langchain = "0.1.0"
langchain-community = "^0.0.11"
langchain-openai = "^0.0.2.post1"
openai = "^1.7.1"
passlib = "^1.7.4"
psycopg2 = "^2.9.9"
pydantic = {version = ">=1.8.0,<2.0.0", extras = ["email"]}
pytest = "^7.4.4"
python = "^3.12"
python-dotenv = "^1.0.0"
python-jose = "^3.3.0"
python-multipart = "^0.0.7"
pyyaml = "^6.0.1"
redis = "^5.0.1"
requests = "^2.31.0"
resend = "^0.7.2"
sentry-sdk = {extras = ["fastapi"], version = "^1.39.2"}
sqlmodel = "0.0.10"
tiktoken = "^0.5.2"
uvicorn = "0.27.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]

View file

@ -1,4 +1,4 @@
from datetime import datetime, timedelta
from datetime import datetime
import json
import random
import redis