-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (68 loc) · 1.63 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "quara-releaser"
dynamic = ["version"]
authors = [
{ name = "Guillaume Charbonnier", email = "[email protected]" },
]
description = "Command line to ease the release of Quara applications"
readme = "README.md"
requires-python = ">=3.9,<4.0"
dependencies = []
[project.optional-dependencies]
dev = [
"build",
"black",
"isort",
"invoke",
"flake8",
"pytest",
"pytest-cov",
"pytest-asyncio",
"wheel",
"fastapi",
"uvicorn",
"toml",
]
[tool.setuptools.dynamic]
version = { attr = "releaser.__about__.__version__" }
[tool.quara.releaser]
on_commit_msg = [
{ match = "*", tags = [
{ value = "latest" },
{ type = "git_commit_sha", size = 7 },
] },
{ match = "chore\\(release\\):", tags = [
{ type = "version" },
{ type = "version", minor = true },
{ type = "version", major = true },
] },
]
[tool.quara.releaser.applications.releaser]
images = [
{ repository = "quara.azurecr.io/releaser", dockerfile = "Dockerfile", platforms = [
"linux/amd64",
"linux/arm64",
] },
]
[tool.quara.releaser.applications.releaser-docs]
images = [
{ repository = "quara.azurecr.io/releaser-docs", context = "docs", dockerfile = "Dockerfile" },
]
[tool.pyright]
pythonVersion = "3.10"
include = ["tests", "src"]
strict = ["src"]
exclude = [
"**/.devbox",
"**/.vscode",
"**/.venv",
"**/node_modules",
"**/__pycache__",
".git",
"**/build",
]
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = "warning"