Skip to content

Commit 300902d

Browse files
authored
Merge pull request #14 from DanielAvdar/docs-dbot
Docs dbot
2 parents 4d7171e + 524722c commit 300902d

File tree

8 files changed

+15
-8
lines changed

8 files changed

+15
-8
lines changed

.github/workflows/codecov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
fail_ci_if_error: true
2626
verbose: true
2727
token: ${{ secrets.CODECOV_TOKEN }}
28-
29-
3028
- uses: codecov/test-results-action@v1
3129
with:
3230
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
enable-cache: true
2323
- run: uv python install 3.11
2424

25-
- run: make
25+
- run: make install-docs
2626
- run: make doc
2727

2828
- name: Deploy

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: astral-sh/setup-uv@v5
1616
- run: uv python install 3.11
17-
- run: uv sync --all-extras
17+
- run: make
1818
- run: make test
1919
- run: uv build
2020
- run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: trailing-whitespace
88
- id: no-commit-to-branch
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.11.4
10+
rev: v0.11.5
1111
hooks:
1212
- id: ruff-format
1313
args: [ --preview, --config=pyproject.toml ]

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ formats: all
1313

1414
# Set the OS, Python version, and other tools you might need
1515
build:
16-
os: ubuntu-24.04
16+
os: ubuntu-lts-latest
1717
tools:
1818
python: "3.12"
1919
jobs:
2020
post_install:
2121
- pip install uv
22-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --all-groups --link-mode=copy
22+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group docs --link-mode=copy --frozen --no-group dev

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ install:
77
uv sync --all-extras --all-groups --frozen
88
uv tool install pre-commit --with pre-commit-uv --force-reinstall
99

10+
install-docs:
11+
uv sync --group docs --frozen --no-group dev
12+
1013
update:
1114
uv lock
1215
uvx pre-commit autoupdate

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ dev = [
2424
"mypy==1.13.0",
2525
"pytest-parametrization>=2022",
2626
"ruff>=0.8.2",
27+
28+
]
29+
docs = [
2730
"sybil[pytest]",
2831
"sphinx>=8.2.0; python_version >= '3.11'",
2932
"sphinx>=7.0.0; python_version < '3.11'",
3033
"sphinx-rtd-theme>=3.0.2",
3134
]
32-
3335
[tool.hatch.build.targets.sdist]
3436
only-include = ["my_pkg",] # todo: change to your package name
3537
source = "."

uv.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)