add ruff to ci

This commit is contained in:
Jakub Miazek
2022-11-12 18:44:54 +01:00
parent 976e3b0f3f
commit d9811d6588
6 changed files with 40 additions and 41 deletions

View File

@@ -27,10 +27,10 @@ class Settings(BaseSettings):
"""
pg_user: str = os.getenv("SQL_USER", "")
pg_pass: str = os.getenv("POSTGRES_PASSWORD", "")
pg_user: str = os.getenv("SQL_USER", "app-user")
pg_pass: str = os.getenv("POSTGRES_PASSWORD", "secret")
pg_host: str = os.getenv("SQL_HOST", "")
pg_database: str = os.getenv("SQL_DB", "")
pg_database: str = os.getenv("SQL_DB", "testdb")
asyncpg_url: str = f"postgresql+asyncpg://{pg_user}:{pg_pass}@{pg_host}:5432/{pg_database}"
jwt_secret_key: str = os.getenv("SECRET_KEY", "")