Skip to content
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
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
python-version: "3.12"
cache: pip
- name: install ruff
# Pin via pyproject's dev extra so local + CI run the same version.
# Keep this pin in sync with the dev extra in pyproject.toml so local
# + CI run the same version. Exact pin because ruff format output
# changes between releases and would break lint on untouched files.
# No need to install the full dev tree (docling, reportlab) just to lint.
run: |
python -m pip install --upgrade pip
pip install "ruff>=0.6"
pip install "ruff==0.16.2"
- name: ruff check
run: ruff check .
- name: ruff format --check
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ dev = [
"docling-core>=2.50,<3",
"pyyaml>=6.0",
"reportlab>=4.0",
"ruff>=0.6",
# Exact pin: ruff format output changes between releases (0.16 started
# formatting markdown code blocks), so a range lets a new ruff release
# break lint on untouched files. CI installs this same pin.
"ruff==0.16.2",
"build>=1.0",
"twine>=5.0",
"pre-commit>=3.0",
Expand Down
Loading