feat: pelican plugin
This commit is contained in:
parent
970e0da9bc
commit
370fdfb067
33 changed files with 2274 additions and 0 deletions
108
pelican-mews/pyproject.toml
Normal file
108
pelican-mews/pyproject.toml
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
[project]
|
||||
name = "pelican-mews"
|
||||
version = "0.1.0"
|
||||
description = "Pelican plugin that outputs pages in Mews Profile format"
|
||||
authors = [{name = "Mews Profile developers"}]
|
||||
license = {text = "MIT"}
|
||||
readme = "README.md"
|
||||
keywords = ["pelican", "plugin", "mews", "xhtml"]
|
||||
classifiers = [
|
||||
"Development Status :: 2 - Pre-Alpha",
|
||||
"Environment :: Console",
|
||||
"Framework :: Pelican",
|
||||
"Framework :: Pelican :: Plugins",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"lxml>=4.9",
|
||||
"pelican>=4.5",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://github.com/pelican-plugins/mews"
|
||||
"Issue Tracker" = "https://github.com/pelican-plugins/mews/issues"
|
||||
"Changelog" = "https://github.com/pelican-plugins/mews/blob/main/CHANGELOG.md"
|
||||
"Funding" = "https://donate.getpelican.com/"
|
||||
|
||||
[project.optional-dependencies]
|
||||
markdown = ["markdown>=3.4"]
|
||||
|
||||
[dependency-groups]
|
||||
lint = [
|
||||
"invoke>=2.2",
|
||||
"ruff>=0.15.12,<1.0.0",
|
||||
]
|
||||
test = [
|
||||
"invoke>=2.2",
|
||||
"markdown>=3.4",
|
||||
"pytest>=7.0",
|
||||
"pytest-cov>=4.0",
|
||||
"pytest-sugar>=1.0",
|
||||
]
|
||||
|
||||
[tool.pdm.build]
|
||||
source-includes = [
|
||||
"CHANGELOG.md",
|
||||
"CONTRIBUTING.md",
|
||||
]
|
||||
includes = ["pelican/"]
|
||||
excludes = ["**/.DS_Store"]
|
||||
|
||||
[tool.autopub]
|
||||
project-name = "Mews"
|
||||
git-username = "botpub"
|
||||
git-email = "52496925+botpub@users.noreply.github.com"
|
||||
append-github-contributor = true
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"B", # flake8-bugbear
|
||||
"BLE", # flake8-blind-except
|
||||
"C4", # flake8-comprehensions
|
||||
"D", # pydocstyle
|
||||
"E", # pycodestyle
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"ICN", # flake8-import-conventions
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
"PGH", # pygrep-hooks
|
||||
"PL", # pylint
|
||||
"RET", # flake8-return
|
||||
"RUF", # ruff-specific rules
|
||||
"SIM", # flake8-simplify
|
||||
"T10", # flake8-debugger
|
||||
"T20", # flake8-print
|
||||
"TID", # flake8-tidy-imports
|
||||
"TRY", # tryceratops
|
||||
"UP", # pyupgrade
|
||||
"W", # pycodestyle
|
||||
"YTT", # flake8-2020
|
||||
]
|
||||
|
||||
ignore = [
|
||||
"D100", # missing docstring in public module
|
||||
"D104", # missing docstring in public package
|
||||
"D203", # blank line before class docstring
|
||||
"D213", # multi-line docstring summary should start at the second line
|
||||
"ISC001", # disabled so `ruff format` works without warning
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
combine-as-imports = true
|
||||
force-sort-within-sections = true
|
||||
known-first-party = ["pelican"]
|
||||
|
||||
[build-system]
|
||||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
Loading…
Add table
Add a link
Reference in a new issue