Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(template): Update template #67

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "[email protected]:vorausrobotik/voraus-cookiecutter-pypackage.git",
"commit": "5a518fdfdcdf9db123bd1fc2ccf9953ee3df7e9a",
"commit": "dcfe4ff456a0d832507cb3d27b30961f2ad79885",
"checkout": "development",
"context": {
"cookiecutter": {
Expand All @@ -21,7 +21,8 @@
"docs/_templates/license_compliance.rst.j2",
"jreleaser.yml"
],
"_template": "[email protected]:vorausrobotik/voraus-cookiecutter-pypackage.git"
"_template": "[email protected]:vorausrobotik/voraus-cookiecutter-pypackage.git",
"_commit": "dcfe4ff456a0d832507cb3d27b30961f2ad79885"
}
},
"directory": null
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,6 @@ module = [
"sphinxawesome_theme.postprocess",
]
ignore_missing_imports = true

[tool.doc8]
max-line-length = 120
29 changes: 15 additions & 14 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -91,33 +91,34 @@ build =
##########################################

tox =
tox==4.23.2
tox-uv==1.16.0
tox==4.24.1
tox-uv==1.23.0

lint-template =
isort==5.13.2
black==24.10.0
mypy==1.13.0
pylint==3.3.1
pytest==8.3.3
isort==6.0.0
black==25.1.0
mypy==1.15.0
pylint==3.3.4
pytest==8.3.4
types-docutils
types-setuptools
jinja2==3.1.4
ruff==0.7.3
jinja2==3.1.5
ruff==0.9.5

test-template =
pytest==8.3.3
pytest==8.3.4
pytest-randomly==3.16.0
pytest-cov==6.0.0
coverage[toml]==7.6.4
coverage[toml]==7.6.11

doc-template =
sphinx==8.1.3
sphinxawesome-theme==5.3.2
sphinx-selective-exclude==1.0.3
sphinx-autodoc-typehints==2.5.0
sphinx-autodoc-typehints==3.0.1
pip-licenses==5.0.0
jinja2==3.1.4
jinja2==3.1.5
doc8==1.1.2

build-template =
build[virtualenv]==1.2.1
build[virtualenv]==1.2.2.post1
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ commands =
# Create dummy files to prevent warnings
python -c 'import pathlib; pathlib.Path("{env:DOCSDIR}").joinpath("vdoc.rst").write_text("");'
python -c 'import pathlib; pathlib.Path("{env:DOCSDIR}").joinpath("license_compliance.rst").write_text("");'
# Check .rst files
doc8 {env:DOCSDIR}
# Run doctests (only from .rst files in docs folder, doctests in .py files are covered by pytest)
sphinx-build -b doctest -W -d "{env:BUILDDIR}/doctrees" "{env:DOCSDIR}" "{env:BUILDDIR}/doctest" {posargs}
# Autogenerate docs from code
Expand Down