-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (36 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
41 lines (36 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[tool.poetry]
name = "Dynamic FastAPI"
version = "0.1.0"
description = "Demo for FastAPI with Dynamic Routes and Models"
authors = ["Matt Austin <matt@mattaust.in>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.95.1"
uvicorn = "^0.21.1"
pydantic = "^1.10.6"
motor = "^3.1.2"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.2"
pre-commit = "^3.1.1"
isort = "^5.12.0"
flake8 = "^6.0.0"
black = "^23.3.0"
ruff = "^0.0.262"
[tool.isort]
multi_line_output = 5
[tool.ruff]
line-length = 120
select = [
"E", # https://github.com/charliermarsh/ruff#pycodestylet
"F", # https://github.com/charliermarsh/ruff#pyflakes
"UP", # https://github.com/charliermarsh/ruff#pyupgrade
"N", # https://github.com/charliermarsh/ruff#pep8-naming
"S", # https://github.com/charliermarsh/ruff#flake8-bandit
"C", # https://github.com/charliermarsh/ruff#flake8-comprehensions
"B", # https://github.com/charliermarsh/ruff#flake8-bugbear
"T" # https://github.com/charliermarsh/ruff#flake8-print
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"