-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (58 loc) · 1.39 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
59
60
61
62
63
64
65
66
67
68
69
70
[tool.poetry]
name = "odp-dto"
version = "0.1.0"
description = ""
authors = ["Thomas Li Fredriksen <[email protected]>"]
readme = "README.md"
packages = [
{include = "odp/dto"}
]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "<2.7.4"
[tool.poetry.group.build]
optional = true
[tool.poetry.group.build.dependencies]
mypy-protobuf = "^3.4.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
black = "^23.7.0"
tomli = "^2.0.1"
toml = "^0.10.2"
[tool.poetry.build]
generate-setup-file = false
script = "scripts/build.py"
[build-system]
build-backend = "poetry.core.masonry.api"
[build-system.requires]
poetry-core = "^1.6.1"
grpcio-tools = "^1.56.0"
protobuf-to-pydantic = "^0.1.7.4"
mypy-protobuf = "^3.4.0"
meson = "^1.2.0"
setuptools = "^68.0.0"
importlib-metadata = "^6.8.0"
importlib-resources = "^6.0.0"
isort = "^5.12.0"
black = "^23.7.0"
toml = "^0.10.2"
[tool.pytest.ini_options]
log_cli = "true"
testpaths = [
"tests"
]
[tool.flake8]
ignore = ["E203", "E731", "W503"]
per-file-ignores = ["*/__init__.py:F401", "tests/*:F841"]
max-line-length = 120
count = true
[tool.isort]
line_length=120 # corresponds to -w flag
multi_line_output=3 # corresponds to -m flag
include_trailing_comma=true # corresponds to -tc flag
profile="black"
known_local_folder="odp,tests"
[tool.protobuf-to-pydantic.format]
black = true
isort = true
autoflake = true