forked from mkdocs-publisher/mkdocs-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
146 lines (130 loc) · 3.49 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
144
145
146
[tool.poetry]
name = "mkdocs-publisher"
version = "1.2.0"
description = "Publisher for MkDocs - set of plugins for content creators"
authors = ["Maciej 'maQ' Kusz <[email protected]>"]
license = "BSD"
readme = "README.md"
keywords = [
"mkdocs",
"mkdocs-plugin",
"blog",
"categories",
"debugger",
"docs",
"documentation",
"frontmatter",
"markdown",
"minifier",
"navigation",
"obsidian",
"publisher",
"tags",
]
packages = [
{include = "mkdocs_publisher"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Documentation",
"Topic :: Text Editors :: Documentation",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Utilities",
]
homepage = "https://github.com/mkusz/mkdocs-publisher"
repository = "https://github.com/mkusz/mkdocs-publisher"
documentation = "https://mkusz.github.io/mkdocs-publisher"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/mkusz/mkdocs-publisher/issues"
[tool.poetry.dependencies]
python = "^3.9"
mkdocs = "^1.5.3"
pymdown-extensions = "^10.3"
beautifulsoup4 = "^4.12.2"
mkdocs-material = "^9.4.4"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
black = "^22.12.0"
yamllint = "^1.29.0"
pyright = "1.1.323"
ruff = "^0.0.292"
[tool.poetry.group.test.dependencies]
coverage = "^7.3.2"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 99
[tool.isort]
py_version=39
profile = "black"
line_length = 99
force_single_line = true
src_paths = [
"mkdocs_publisher",
"tests",
]
[tool.pyright]
extraPaths = [
"mkdocs_publisher",
]
include = [
"mkdocs_publisher",
"tests",
]
exclude = [
"docs",
"mkdocs_publisher_docs",
]
reportMissingImports = false
reportMissingTypeStubs = false
reportOptionalMemberAccess = false
typeCheckingMode = "basic"
[tool.pytest.ini_options]
addopts = "--tb=short --log-level=DEBUG --cov-report=html --cov=mkdocs_publisher"
markers = [
"deprecated: Tests no longer used",
]
testpaths = [
"tests",
]
[tool.ruff]
target-version = "py39"
line-length = 99
[tool.ruff.mccabe]
max-complexity = 10
[tool.coverage.run]
branch = true
[tool.coverage.report]
include_namespace_packages = true
skip_empty = true
skip_covered = false
[tool.poetry.plugins."mkdocs.plugins"]
pub-blog = "mkdocs_publisher.blog.plugin:BlogPlugin"
pub-debugger = "mkdocs_publisher.debugger.plugin:DebuggerPlugin"
pub-meta = "mkdocs_publisher.meta.plugin:MetaPlugin"
pub-minifier = "mkdocs_publisher.minifier.plugin:MinifierPlugin"
pub-obsidian = "mkdocs_publisher.obsidian.plugin:ObsidianPlugin"
pub-social = "mkdocs_publisher.social.plugin:SocialPlugin"
[tool.poetry.scripts]
mkdocs-pub = "mkdocs_publisher._cli.publisher:app"