-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (30 loc) · 831 Bytes
/
Copy pathpyproject.toml
File metadata and controls
37 lines (30 loc) · 831 Bytes
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
[tool.poetry]
name = "tgbot-cpp-codegen"
version = "0.1.0"
description = "Telegram Bot API schema downloader and C++ code generator"
authors = ["tgbot-cpp contributors"]
package-mode = false
[tool.poetry.dependencies]
python = "^3.10"
pyyaml = "^6.0"
jinja2 = "^3.1"
pytest = "^9.0.3"
ruff = "^0.16"
tgbotspec = "^0.2.4"
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["api_codegen/tests"]
pythonpath = ["."]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "B", "UP", "RUF"]
[tool.ruff.lint.per-file-ignores]
"conanfile.py" = ["RUF012"] # Conan recipes declare options as mutable class attributes.
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"