-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
41 lines (35 loc) · 1.03 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
[tool.poetry]
authors = ["Johannes Köster <johannes.koester@tu-dortmund.de>"]
description = "A YAML template engine with Python expressions"
homepage = "https://github.com/yte-template-engine/yte"
license = "MIT"
name = "yte"
readme = "README.md"
repository = "https://github.com/yte-template-engine/yte"
version = "1.5.4"
[tool.poetry.dependencies]
dpath = "^2.1"
plac = "^1.3.4"
python = ">=3.7"
pyyaml = "^6.0"
[tool.poetry.dev-dependencies]
black = "^22.1.0"
coverage = {extras = ["toml"], version = "^6.3.1"}
flake8 = "^4.0.1"
flake8-bugbear = "^22.1.11"
pytest = "^7.0"
[tool.coverage.run]
omit = [".*", "*/site-packages/*"]
[tool.coverage.report]
# exclude CLI handling lines. They cannot be captured properly by coverage, but we have a testcase for them.
exclude_lines = [
"yaml\\.dump\\(result, outfile\\)",
"process_yaml\\(sys.stdin, outfile=sys\\.stdout\\)",
"plac.call\\(cli\\)",
]
fail_under = 100
[tool.poetry.scripts]
yte = "yte:main"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]