-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
52 lines (42 loc) · 1.32 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
[tool.poetry]
name = "pydantic-2-mermaid"
version = "0.7.3"
description = "Convert pydantic 2.0.3+ classes to markdown mermaid class charts"
authors = ["Eric Websmith <eric.websmith@gmail.com>"]
readme = "README.md"
packages = [{ include = "pydantic_mermaid", from = "src" }]
homepage = "https://github.com/EricWebsmith/pydantic-2-mermaid"
# Specify the classifiers
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = "^3.8"
importlib-resources = "^6.1.1"
jinja2 = "^3.1.3"
pydantic = "^2.0.3"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
ruff = "^0.4.2"
pytest = "^8.2.0"
pytest-cov = "^5.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
pydantic-mermaid = 'pydantic_mermaid.__main__:main'
[tool.pytest.ini_options]
addopts = "--cov=pydantic_mermaid --cov-report term-missing"
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = ["T20", "I", "N", "C4", "PT", "RET", "SIM", "PTH", "PL", "RUF", "B"]
[tool.ruff.lint.isort]
known-first-party = ["pydantic_mermaid"]
[tool.mypy]
strict = true
enable_error_code = ["ignore-without-code"]