fix(ci): pin ruff in pyproject for Dependabot and fix its target so local and CI lint agree

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-10-30 20:20:03 +01:00
1 parent 138d67b07a
commit 2f56ce62ce
5 files changed
+16 -3

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: pip
directory: /
schedule:
interval: daily
+2 -1
View File
@@ -24,7 +24,8 @@ jobs:
- name: 📦 Install lint tools - name: 📦 Install lint tools
run: | run: |
pip install ruff python -m pip install --upgrade pip
pip install --group lint
sudo apt-get update && sudo apt-get install -y shellcheck sudo apt-get update && sudo apt-get install -y shellcheck
npm install -g markdownlint-cli2 npm install -g markdownlint-cli2
+2 -1
View File
@@ -29,7 +29,8 @@ jobs:
- name: 📦 Install lint tools - name: 📦 Install lint tools
run: | run: |
pip install ruff python -m pip install --upgrade pip
pip install --group lint
sudo apt-get update && sudo apt-get install -y shellcheck sudo apt-get update && sudo apt-get install -y shellcheck
npm install -g markdownlint-cli2 npm install -g markdownlint-cli2
+5
View File
@@ -0,0 +1,5 @@
[dependency-groups]
lint = ["ruff==0.17.3"]
[tool.ruff]
target-version = "py312"
+1 -1
View File
@@ -89,7 +89,7 @@ def write_claim(path: Path, office: str, sid: str, runtime: str, work: str) -> N
"session": sid, "session": sid,
"runtime": runtime, "runtime": runtime,
"name": live_sessions().get(sid), "name": live_sessions().get(sid),
"since": datetime.datetime.now(datetime.timezone.utc).isoformat(timespec="seconds"), "since": datetime.datetime.now(datetime.UTC).isoformat(timespec="seconds"),
"beat": time.time(), "beat": time.time(),
"work": work, "work": work,
} }