Skip to content

Instantly share code, notes, and snippets.

@calebnorman
Created December 12, 2022 17:10
Show Gist options
  • Save calebnorman/2ea4019a6ab188bcd52236baf6315337 to your computer and use it in GitHub Desktop.
Save calebnorman/2ea4019a6ab188bcd52236baf6315337 to your computer and use it in GitHub Desktop.
[tool.black]
line-length = 79
include = '\.pyi?$'
[tool.poetry]
name = "fastapi_template_repository"
version = "0.0.0"
description = ""
authors = ["*** <***@foo.com>"]
packages = [
{ include="api", from="." },
]
[tool.poetry.scripts]
local = "api.main:development"
dev = "api.main:development"
development = "api.main:development"
DEVELOPMENT = "api.main:development"
prod = "api.main:production"
migrate = "api.main:migrate"
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.79.0"
uvicorn = "^0.18.3"
SQLAlchemy = "^1.4.41"
psycopg2 = "^2.9.3"
requests = "^2.28.1"
sentry-sdk = {extras = ["fastapi"], version = "^1.9.8"}
python-dotenv = "^0.21.0"
loguru = "^0.6.0"
logdna = "^1.18.2"
pynamodb = "^5.2.1"
haversine = "^2.7.0"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
pytest-cov = "^4.0.0"
pre-commit = "^2.20.0"
mypy = "^0.971"
flake8 = "^5.0.4"
black = "^22.6.0"
isort = "^5.10.1"
types-requests = "^2.28.9"
bandit = "^1.7.4"
pylint = "^2.14.5"
sqlalchemy-stubs = "^0.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment