-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
143 lines (129 loc) · 2.65 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[project]
name = "termynal"
version = "0.12.2"
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 = [
"black >= 24.10",
"mypy >= 1.13.0",
"pytest >= 7.4",
"pytest-cov >= 4.1",
"pytest-deadfixtures >= 2.2",
"pytest-mock >= 3.14",
"pyyaml >= 6.0",
"ruff >= 0.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"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.12.2"
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]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"D",
# "UP",
"YTT",
# "ANN",
"S",
"BLE",
# "FBT",
"B",
"A",
"COM",
"C4",
"DTZ",
"T10",
"EM",
"EXE",
"ISC",
"ICN",
"G",
"INP",
"PIE",
"T20",
"PT",
"Q",
"RET",
"SIM",
"TID",
"TCH",
"ARG",
"PTH",
"ERA",
"PD",
# "PGH",
"PL",
"TRY",
"RSE",
"RUF",
]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D213",
"D401",
"S101",
]
exclude = []