Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install pre-commit pyproject-flake8
python-version: "3.10"
- run: pip install pre-commit pyproject-flake8 "doc-checker @ git+https://github.com/murogrande/doc_checker.git"
- run: pre-commit install
- run: pre-commit run --all-files
check_dependency_versions:
Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,14 @@ repos:
- id: mypy
exclude: examples|test|ci
additional_dependencies: ["pulser-core[torch]>=1.7.0rc2", "torch>=2.9.0"] # The version in pyproject.toml must match

- repo: https://github.com/murogrande/doc_checker
rev: 70b79c286be9e095d935c96a5c48481bd24c40c6 # NOTE: this should be the version not the commit
hooks:
- id: doc-checker-basic
language: system
args: ["--warn-only","--ignore-submodules", "emu_mps.optimatrix"]
- id: doc-checker-links
language: system
args: ["--ignore-submodules", "emu_mps.optimatrix"]
verbose: true