The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
ci: make ruff strict the default
Maciej Lisiewskid68bb0c9aea2
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 31bb8938d66..df75595a86d 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -73,7 +73,7 @@ jobs:- name: Run ruff + ty on HEADrun: |mkdir -p .lint-reports/head- ruff check --config ruff.strict.toml --output-format json --exit-zero \+ ruff check --output-format json --exit-zero \> .lint-reports/head/ruff.json || truety check --output-format gitlab --exit-zero \> .lint-reports/head/ty.json || true@@ -96,7 +96,7 @@ jobs:git worktree add --detach /tmp/lint-base "$BASE_SHA"(cd /tmp/lint-base- ruff check --config ruff.strict.toml --output-format json --exit-zero \+ ruff check --output-format json --exit-zero \> "$GITHUB_WORKSPACE/.lint-reports/base/ruff.json" || truety check --output-format gitlab --exit-zero \> "$GITHUB_WORKSPACE/.lint-reports/base/ty.json" || true@@ -149,7 +149,7 @@ jobs:# No --exit-zero, no || true. Exit code propagates to the job,# which propagates to the required-check gate.run: |- ruff check --config ruff.strict.toml .+ ruff check .code-health:# Per-unit ratchet: every function and file keeps its own cap (its value on main when it isdiff --git a/lefthook.yml b/lefthook.ymlindex f13dbe4ae51..dadec49efeb 100644--- a/lefthook.yml+++ b/lefthook.yml@@ -2,4 +2,4 @@ pre-commit:jobs:- name: lint pythonglob: "*.py" # glob filter- run: ruff check --config ./ruff.strict.toml {staged_files}+ run: ruff check {staged_files}diff --git a/ruff.strict.toml b/ruff.tomlsimilarity index 100%rename from ruff.strict.tomlrename to ruff.toml