-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (57 loc) · 1.58 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
[tool.poetry]
name = "mystace"
version = "0.1.0"
description = "Rendering mustache templates in Python fast."
authors = ["Eliot Robson <eliot.robson24@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "mystace", from = "src" }]
#TODO version classifiers may not be needed.
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Markup",
]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
more-itertools = ">=8"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.2"
chevron = "^0.14.0"
pytest-datadir = "^1.5.0"
mypy = "^1.8.0"
pytest-benchmark = "^4.0.0"
typing-extensions = "^4.9.0"
pytest-cov = "^4.1.0"
combustache = "^1.0.2"
moosetash = "^0.2.0"
pystache = "^0.6.5"
faker = "^23.2.1"
flameprof = "^0.4"
ustache = "^0.1.5"
ruff = "^0.7.4"
icecream = "^2.1.3"
types-chevron = "^0.14.2.20240310"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
required_plugins = ["pytest-benchmark", "pytest-datadir"]
[tool.coverage.run]
# Add in all library files.
include = ["src/mystace/*"]
# Omit init files
omit = ["*/__init__.py"]
[tool.mypy]
python_version = "3.8"
[[tool.mypy.overrides]]
module = ["yaml", "combustache.*", "pystache.*", "ustache.*"]
ignore_missing_imports = true