Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent da129b8 commit a2f2301
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
12 changes: 6 additions & 6 deletions app/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ certifi==2022.6.15 ; python_version >= "3.10" and python_version < "4.0"
cfgv==3.3.1 ; python_version >= "3.10" and python_version < "4.0"
charset-normalizer==2.0.12 ; python_version >= "3.10" and python_version < "4.0"
click==8.1.3 ; python_version >= "3.10" and python_version < "4.0"
colorama==0.4.5 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" or python_version >= "3.10" and python_version < "4.0" and platform_system == "Windows"
colorama==0.4.5 ; python_version >= "3.10" and python_version < "4.0" and (sys_platform == "win32" or platform_system == "Windows")
coverage[toml]==6.4.1 ; python_version >= "3.10" and python_version < "4.0"
distlib==0.3.4 ; python_version >= "3.10" and python_version < "4.0"
dnspython==2.2.1 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -18,7 +18,7 @@ faker-commerce==1.0.3 ; python_version >= "3.10" and python_version < "4.0"
faker==13.15.0 ; python_version >= "3.10" and python_version < "4.0"
fastapi==0.78.0 ; python_version >= "3.10" and python_version < "4.0"
filelock==3.7.1 ; python_version >= "3.10" and python_version < "4.0"
greenlet==1.1.2 ; python_version >= "3.10" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and python_full_version < "4.0.0"
greenlet==1.1.2 ; python_version >= "3.10" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and python_version < "4.0"
h11==0.12.0 ; python_version >= "3.10" and python_version < "4.0"
httpcore==0.15.0 ; python_version >= "3.10" and python_version < "4.0"
httptools==0.4.0 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -36,7 +36,7 @@ platformdirs==2.5.2 ; python_version >= "3.10" and python_version < "4.0"
pluggy==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
pre-commit==2.19.0 ; python_version >= "3.10" and python_version < "4.0"
py==1.11.0 ; python_version >= "3.10" and python_version < "4.0"
pydantic==1.9.1 ; python_version >= "3.10" and python_full_version < "4.0.0"
pydantic==1.9.1 ; python_version >= "3.10" and python_version < "4.0"
pyparsing==3.0.9 ; python_version >= "3.10" and python_version < "4.0"
pytest-asyncio==0.18.3 ; python_version >= "3.10" and python_version < "4.0"
pytest-cov==3.0.0 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -51,16 +51,16 @@ six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
sniffio==1.2.0 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy-stubs==0.4 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy-utils==0.38.2 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy2-stubs==0.0.2a24 ; python_version >= "3.10" and python_full_version < "4.0.0"
sqlalchemy2-stubs==0.0.2a24 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy==1.4.35 ; python_version >= "3.10" and python_version < "4.0"
sqlmodel==0.0.6 ; python_version >= "3.10" and python_full_version < "4.0.0"
sqlmodel==0.0.6 ; python_version >= "3.10" and python_version < "4.0"
starlette==0.19.1 ; python_version >= "3.10" and python_version < "4.0"
toml==0.10.2 ; python_version >= "3.10" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.10" and python_version < "4.0"
typing-extensions==4.3.0 ; python_version >= "3.10" and python_version < "4.0"
urllib3==1.26.9 ; python_version >= "3.10" and python_version < "4"
uvicorn[standard]==0.17.6 ; python_version >= "3.10" and python_version < "4.0"
uvloop==0.16.0 ; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "4.0"
uvloop==0.16.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "4.0"
virtualenv==20.15.1 ; python_version >= "3.10" and python_version < "4.0"
watchgod==0.8.2 ; python_version >= "3.10" and python_version < "4.0"
websockets==10.3 ; python_version >= "3.10" and python_version < "4.0"
14 changes: 7 additions & 7 deletions app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ better-exceptions==0.3.3 ; python_version >= "3.10" and python_version < "4.0"
certifi==2022.6.15 ; python_version >= "3.10" and python_version < "4.0"
charset-normalizer==2.0.12 ; python_version >= "3.10" and python_version < "4.0"
click==8.1.3 ; python_version >= "3.10" and python_version < "4.0"
colorama==0.4.5 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" or python_version >= "3.10" and python_version < "4.0" and platform_system == "Windows"
colorama==0.4.5 ; python_version >= "3.10" and python_version < "4.0" and (sys_platform == "win32" or platform_system == "Windows")
dnspython==2.2.1 ; python_version >= "3.10" and python_version < "4.0"
email-validator==1.2.1 ; python_version >= "3.10" and python_version < "4.0"
fastapi==0.78.0 ; python_version >= "3.10" and python_version < "4.0"
greenlet==1.1.2 ; python_version >= "3.10" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and python_full_version < "4.0.0"
greenlet==1.1.2 ; python_version >= "3.10" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and python_version < "4.0"
h11==0.12.0 ; python_version >= "3.10" and python_version < "4.0"
httptools==0.4.0 ; python_version >= "3.10" and python_version < "4.0"
idna==3.3 ; python_version >= "3.10" and python_version < "4.0"
mako==1.2.1 ; python_version >= "3.10" and python_version < "4.0"
markupsafe==2.1.1 ; python_version >= "3.10" and python_version < "4.0"
pydantic==1.9.1 ; python_version >= "3.10" and python_full_version < "4.0.0"
pydantic==1.9.1 ; python_version >= "3.10" and python_version < "4.0"
python-dotenv==0.20.0 ; python_version >= "3.10" and python_version < "4.0"
pyyaml==6.0 ; python_version >= "3.10" and python_version < "4.0"
requests==2.27.1 ; python_version >= "3.10" and python_version < "4.0"
setuptools==62.6.0 ; python_version >= "3.10" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.10" and python_version < "4.0"
sniffio==1.2.0 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy-utils==0.38.2 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy2-stubs==0.0.2a24 ; python_version >= "3.10" and python_full_version < "4.0.0"
sqlalchemy2-stubs==0.0.2a24 ; python_version >= "3.10" and python_version < "4.0"
sqlalchemy==1.4.35 ; python_version >= "3.10" and python_version < "4.0"
sqlmodel==0.0.6 ; python_version >= "3.10" and python_full_version < "4.0.0"
sqlmodel==0.0.6 ; python_version >= "3.10" and python_version < "4.0"
starlette==0.19.1 ; python_version >= "3.10" and python_version < "4.0"
typing-extensions==4.3.0 ; python_version >= "3.10" and python_full_version < "4.0.0"
typing-extensions==4.3.0 ; python_version >= "3.10" and python_version < "4.0"
urllib3==1.26.9 ; python_version >= "3.10" and python_version < "4"
uvicorn[standard]==0.17.6 ; python_version >= "3.10" and python_version < "4.0"
uvloop==0.16.0 ; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "4.0"
uvloop==0.16.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "4.0"
watchgod==0.8.2 ; python_version >= "3.10" and python_version < "4.0"
websockets==10.3 ; python_version >= "3.10" and python_version < "4.0"
10 changes: 4 additions & 6 deletions migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@
def run_migrations_offline() -> None:
"""Run migrations in 'offline' mode.
This configures the context with just a URL
and not an Engine, though an Engine is acceptable
here as well. By skipping the Engine creation
we don't even need a DBAPI to be available.
This configures the context with just a URL and not an Engine, though an
Engine is acceptable here as well. By skipping the Engine creation we
don't even need a DBAPI to be available.
Calls to context.execute() here emit the given string to the
script output.
Calls to context.execute() here emit the given string to the script output.
"""
context.configure(
url=settings.SQLALCHEMY_DATABASE_URI,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Revises: 798540c2eae1
Create Date: 2022-06-06 23:08:51.764776
"""

import sqlalchemy as sa

from alembic import op
Expand Down
3 changes: 2 additions & 1 deletion migrations/versions/798540c2eae1_init_alembic.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"""init alembic.
"""Init alembic.
Revision ID: 798540c2eae1
Revises:
Create Date: 2022-06-06 23:04:40.848117
"""

import sqlalchemy as sa
import sqlmodel

Expand Down
5 changes: 1 addition & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ url = https://github.com/tugrulcan/staket
author = Tugrul Can Söllü
author_email = tugrulcansollu@gmail.com
license = MIT
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
keywords = FastAPI
platform = any
project_urls =
Expand Down

0 comments on commit a2f2301

Please sign in to comment.