feat: quickstart that scaffolds a Pelican site writing Mews pages
This commit is contained in:
parent
884300f3cf
commit
0d9cf1ed26
3 changed files with 352 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ dependencies = [
|
|||
[project.scripts]
|
||||
mewsd = "mews.cli:main"
|
||||
mewslint = "mews.lint:main"
|
||||
mews-quickstart = "mews.quickstart:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
|
@ -92,9 +93,16 @@ known-first-party = ["mews"]
|
|||
# These print their results: they are the command line interface.
|
||||
"mews/cli.py" = ["T201"]
|
||||
"mews/lint.py" = ["T201"]
|
||||
# Also a command line tool, and it holds templates for files it writes, whose
|
||||
# line lengths are the generated file's business rather than this module's.
|
||||
"mews/quickstart.py" = ["T201", "E501"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
# The scaffold build downloads Pelican and takes a minute. Run it with
|
||||
# `pytest -m slow`, or everything with `--runslow`.
|
||||
addopts = "-m 'not slow'"
|
||||
markers = ["slow: needs the network and about a minute"]
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.8"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue