-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (87 loc) · 1.95 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[project]
name = "pyrlament"
description = "Pyrlament"
version = "0.4.5"
license = "MIT"
authors = [
{name = "Bohdan Bobrowski", email = "[email protected]"}
]
dependencies = [
"numpy",
"pydantic",
]
[project.optional-dependencies]
dev = [
"autoflake",
"black",
"black",
"isort",
"mypy",
"ruff",
"pipreqs",
]
[tool.ruff]
line-length = 120
extend-exclude = [
# TODO: try to keep these lines empty
]
[tool.poetry]
name = "pyrlament"
version = "0.4.5"
description = ""
authors = ["Bohdan Bobrowski <[email protected]>"]
readme = "README.md"
packages = [
{"include" = "pyrlament"},
]
[tool.poetry.dependencies]
python = "^3.10"
numpy = "^1.25.1"
pydantic = "^2.0.2"
pydantic-settings = "^2.0.1"
drawsvg = {extras = ["raster"], version = "^2.2.0"}
svglib = "^1.5.1"
pillow = "^10.0.1"
[tool.poetry.group.dev.dependencies]
autoflake = "^2.1.1"
black = "^23.3.0"
isort = "^5.12.0"
mypy = "^1.2.0"
ruff = "^0.0.264"
faker = "^18.6.2"
coverage = "^7.2.6"
types-python-slugify = "^8.0.0.2"
python-slugify = "^8.0.1"
no-implicit-optional = "^1.3"
pydevd-pycharm = "^232.5150.120"
pytest-asyncio = "^0.21.0"
pytest-mock = "^3.10.0"
httpx-oauth = "^0.11.2"
asgi-lifespan = "^2.1.0"
pipreqs = "^0.4.13"
pyclean = "^2.7.3"
[tool.poetry.scripts]
pyrlament_demo = 'pyrlament.scripts:demo'
[tool.coverage.run]
omit = [".*", "*/site-packages/*", "*/tests/*"]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\bProtocol\\):",
"@(abc\\.)?abstractmethod"
]
fail_under = 80
[tool.coverage.html]
directory = "tests/coverage"
[tool.black]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"