Skip to content

Commit

Permalink
chore: Add the 'black' and 'isort' formatting tools.
Browse files Browse the repository at this point in the history
  • Loading branch information
mign0n committed Feb 27, 2024
1 parent 6a14056 commit cbaad9b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 31 deletions.
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tool.black]
extend-exclude = """
(
alembic
| tests
)
"""
line-length = 79
skip-string-normalization = "true"
target-version = ["py39"]

[tool.isort]
atomic = "true"
extend_skip = ["tests", "alembic"]
py_version = 39
profile = "black"
line_length = 79
src_paths = "app"
60 changes: 29 additions & 31 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,83 +1,81 @@
#
# These requirements were autogenerated by pipenv
# To regenerate from the project's Pipfile, run:
#
# pipenv lock --requirements
#

-i https://pypi.org/simple
aiofiles==0.8.0; python_version >= '3.6' and python_version < '4'
aiofiles==0.8.0
aiogoogle==4.2.0
aiohttp==3.8.1; python_version >= '3.6'
aiosignal==1.2.0; python_version >= '3.6'
aiohttp==3.8.1
aiosignal==1.2.0
aiosqlite==0.17.0
alembic==1.7.7
anyio==3.6.1
asgiref==3.5.2
async-timeout==4.0.2; python_version >= '3.6'
async-timeout==4.0.2
attrs==21.4.0
bcrypt==3.2.2
cachetools==5.2.0; python_version ~= '3.7'
black==24.2.0
cachetools==5.2.0
certifi==2022.5.18.1
cffi==1.15.0
charset-normalizer==2.0.12
click==8.1.3
cryptography==37.0.2
dnspython==2.2.1
email-validator==1.2.1
faker==12.0.1
fastapi-users-db-sqlalchemy==4.0.3
fastapi-users[sqlalchemy]==10.0.4
Faker==12.0.1
fastapi==0.78.0
fastapi-users==10.0.4
fastapi-users-db-sqlalchemy==4.0.3
flake8==4.0.1
freezegun==1.2.1
frozenlist==1.3.0; python_version >= '3.7'
frozenlist==1.3.0
google-auth==2.8.0
greenlet==1.1.2
h11==0.13.0
httptools==0.4.0
idna==3.3
iniconfig==1.1.1
isort==5.13.2
lock==2018.3.25.2110
makefun==1.13.1
mako==1.2.0
markupsafe==2.1.1
Mako==1.2.0
MarkupSafe==2.1.1
mccabe==0.6.1
mixer==7.2.2
multidict==6.0.2; python_version >= '3.7'
packaging==21.3; python_version >= '3.6'
passlib[bcrypt]==1.7.4
multidict==6.0.2
mypy-extensions==1.0.0
packaging==23.2
passlib==1.7.4
pathspec==0.12.1
platformdirs==4.2.0
pluggy==1.0.0
py==1.11.0
pyasn1-modules==0.2.8
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.8.0
pycparser==2.21
pydantic==1.9.1
pyflakes==2.4.0
pyjwt[crypto]==2.3.0
PyJWT==2.3.0
pyparsing==3.0.9
pytest==7.1.3
pytest-asyncio==0.23.4
pytest-freezegun==0.4.2
pytest-lazy-fixture==0.6.3
pytest-pythonpath==0.7.3
pytest==7.1.3
python-dateutil==2.8.2
python-dotenv==0.20.0
python-multipart==0.0.5
pyyaml==6.0
PyYAML==6.0
requests==2.27.1
rsa==4.8; python_version >= '3.6'
rsa==4.8
six==1.16.0
sniffio==1.2.0
sqlalchemy==1.4.36
SQLAlchemy==1.4.36
starlette==0.19.1
toml==0.10.2
tomli==2.0.1
tonyg-rfc3339==0.1
typing-extensions==4.2.0
typing_extensions==4.2.0
urllib3==1.26.9
uvicorn[standard]==0.17.6
uvicorn==0.17.6
uvloop==0.16.0
watchgod==0.8.2
websockets==10.3
yarl==1.7.2; python_version >= '3.6'
yarl==1.7.2

0 comments on commit cbaad9b

Please sign in to comment.