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
10 changes: 7 additions & 3 deletions .github/workflows/reusable_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check formatting
uses: "lgeiger/black-action@master"
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
args: ". -l 79 --check"
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Check formatting with ruff
run: uvx ruff format --check .
155 changes: 0 additions & 155 deletions CRITICAL_TEMPERATURE_BUG.md

This file was deleted.

4 changes: 4 additions & 0 deletions changelog.d/fix-ci-lint-use-ruff.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CI lint job now runs `ruff format --check .` instead of the retired
`black -l 79 --check`. The Makefile was switched to `ruff format` in #40
but the reusable lint workflow was not updated, so every PR's `lint` check
was failing on files already formatted with ruff.
3 changes: 3 additions & 0 deletions changelog.d/fix-remove-stale-temperature-doc.removed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Delete `CRITICAL_TEMPERATURE_BUG.md`: the temperature bug it documented is
now fixed in `HardConcrete._deterministic_gates`, and the doc also pointed
at a nonexistent file (`l0_louizos_improved_gate.py`).
Loading