-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
50 lines (43 loc) · 1.09 KB
/
pyproject.toml
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
42
43
44
45
46
47
48
49
50
[tool.poetry]
name = "real-time-charts-with-fastapi"
version = "0.2.1"
description = "Sample application for the blog Creating Real-Time Charts with FastAPI"
authors = ["Ronie Martinez <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
fastapi = "^0.103.2"
Jinja2 = "^3.1.5"
uvicorn = { extras = ["standard"], version = "^0.22.0" }
[tool.poetry.dev-dependencies]
autoflake = "^1.7"
black = "^23.3.0"
isort = "^5.11.5"
mypy = "^1.4"
pyproject-flake8 = "^5.0.4"
[tool.isort]
line_length = 120
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = true
include_trailing_comma = true
ensure_newline_before_comments = true
atomic = true
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = """
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/setup.py
"""
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"