-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (52 loc) · 1.17 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
51
52
53
54
55
56
57
58
[tool.poetry]
name = "kb"
version = "0.1.0"
description = "knowledge base"
authors = ["Denis Sukhoverkhov <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
locust = "^2.4.1"
aiocache = {extras = ["redis"], version = "^0.11.1"}
sanic = "^21.9.1"
jupyterlab = "^3.2.2"
aiokafka = "^0.7.2"
python-dotenv = "^0.19.2"
PyYAML = "^6.0"
pydantic = "^1.8.2"
[tool.poetry.dev-dependencies]
black = "^21.12b0"
isort = "^5.10.1"
mypy = "^0.910"
"ruamel.yaml" = "^0.17.17"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = [
'.toml',
'.sh',
'.git',
'.ini',
'Dockerfile',
'.ipynb_checkpoints',
'venv',
'.env',
]
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
indent=' '
sections = ['FUTURE','STDLIB','THIRDPARTY','FIRSTPARTY','LOCALPROJECT','LOCALFOLDER']
default_section = 'THIRDPARTY'
known_standard_library = []
[tool.mypy]
python_version = 3.8
warn_return_any = true
warn_redundant_casts = true
warn_unused_configs = true
ignore_missing_imports = true
plugins = "pydantic.mypy"