-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
93 lines (77 loc) · 2.19 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "termynal"
version = "0.13.0"
requires-python = ">=3.9"
description = "A lightweight and modern animated terminal window"
authors = [{ email = "[email protected]" }, { name = "Danil Akhtarov" }]
license = {file = "LICENSE"}
readme = "README.md"
keywords = ["mkdocs", "markdown", "plugin", "termynal"]
dependencies = ["markdown >= 3"]
[project.urls]
Homepage = "https://termynal.github.io/termynal.py/"
Changelog = "https://termynal.github.io/termynal.py/changelog/"
Repository = "https://github.com/termynal/termynal.py"
Documentation = "https://termynal.github.io/termynal.py/"
[project.entry-points."mkdocs.plugins"]
"termynal" = "termynal.plugin:TermynalPlugin"
[project.entry-points."markdown.extensions"]
"termynal" = "termynal.markdown:TermynalExtension"
[project.optional-dependencies]
mkdocs = ["mkdocs >= 1.4"]
[dependency-groups]
dev = [
"mypy >= 1.13.0",
"pytest >= 7.4",
"pytest-cov >= 4.1",
"pytest-deadfixtures >= 2.2",
"pytest-mock >= 3.14",
"pyyaml >= 6.0",
"ruff < 1",
"types-markdown >= 3.7",
"types-pyyaml >= 6.0",
]
docs = [
"markdown-include >= 0.8",
"mkdocs >= 1.6",
"mkdocs-material >= 9.5",
]
git = ["commitizen >= 3.30"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
no-build-package = ["tests"]
default-groups = ["dev", "docs", "git"]
[tool.uv.pip]
generate-hashes = true
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.13.0"
tag_format = "v$version"
version_files = ["pyproject.toml:version"]
bump_message = "chore(release): version $current_version → $new_version"
update_changelog_on_bump = true
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.coverage.run]
omit = ["tests/*", "**/__main__.py", "**/.venv/*", "**/site-packages/*"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 94
[tool.pytest.ini_options]
addopts = "--strict-markers --showlocals --verbosity 2"
log_level = "DEBUG"
[tool.ruff.lint]
select = []
ignore = []
exclude = []
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]