Skip to content

Commit

Permalink
MAINT: update lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 15, 2024
1 parent 247e675 commit c4a39f8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.5.0rc0
rev: 0.5.0rc1
hooks:
- id: check-dev-files
args:
- --doc-apt-packages=graphviz
- --dev-python-version=3.11
- --no-prettierrc
- --pin-requirements=monthly
- --repo-name=ampform
- --repo-title=AmpForm
Expand Down
27 changes: 14 additions & 13 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ build:
os: ubuntu-24.04
tools:
python: "3.11"
apt_packages:
- graphviz
jobs:
post_install:
- python -m pip install 'uv>=0.2.0'
- python -m uv sync --extra=doc
formats:
- htmlzip

sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
commands:
- |-
export PIXI_HOME=$READTHEDOCS_VIRTUALENV_PATH
curl -fsSL https://pixi.sh/install.sh | bash
pixi global install graphviz uv
- |-
export UV_LINK_MODE=copy
uv run \
--extra doc \
--locked \
--with tox \
tox -e doc
mkdir -p $READTHEDOCS_OUTPUT
mv docs/_build/html $READTHEDOCS_OUTPUT

0 comments on commit c4a39f8

Please sign in to comment.