mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 15:05:37 +01:00
65 lines
1.4 KiB
TOML
65 lines
1.4 KiB
TOML
[tool.poetry]
|
|
name = "books_downloader"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = ["Kurbanov Bulat <kurbanovbul@gmail.com>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9"
|
|
fastapi = "^0.85.1"
|
|
httpx = "^0.23.0"
|
|
transliterate = "^1.10.2"
|
|
uvicorn = {extras = ["standart"], version = "^0.19.0"}
|
|
prometheus-fastapi-instrumentator = "^5.9.1"
|
|
uvloop = "^0.17.0"
|
|
gunicorn = "^20.1.0"
|
|
sentry-sdk = "^1.10.1"
|
|
asynctempfile = "^0.5.0"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.black]
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.git
|
|
| \.vscode
|
|
| \venv
|
|
| alembic
|
|
)/
|
|
'''
|
|
|
|
[tool.flake8]
|
|
ignore = [
|
|
# Whitespace before ':' ( https://www.flake8rules.com/rules/E203.html )
|
|
"E203",
|
|
"W503"
|
|
]
|
|
max-line-length=88
|
|
max-complexity = 15
|
|
select = "B,C,E,F,W,T4,B9"
|
|
exclude = [
|
|
# No need to traverse our git directory
|
|
".git",
|
|
# There's no value in checking cache directories
|
|
"__pycache__",
|
|
# The conf file is mostly autogenerated, ignore it
|
|
"src/app/alembic/*",
|
|
# The old directory contains Flake8 2.0
|
|
]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
only_sections = true
|
|
force_sort_within_sections = true
|
|
lines_after_imports = 2
|
|
lexicographical = true
|
|
sections = ["FUTURE", "STDLIB", "BASEFRAMEWORK", "FRAMEWORKEXT", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
|
known_baseframework = ["fastapi",]
|
|
known_frameworkext = ["starlette",]
|
|
src_paths = ["src"]
|