Conversation
|
| code | total | + violation | - violation | + fix | - fix |
|---|---|---|---|---|---|
| SIM115 | 23 | 23 | 0 | 0 | 0 |
| RUF100 | 5 | 0 | 5 | 0 | 0 |
| TRY203 | 2 | 2 | 0 | 0 | 0 |
| TRY302 | 2 | 0 | 2 | 0 | 0 |
Linter (preview)
ℹ️ ecosystem check detected linter changes. (+2 -2 violations, +0 -0 fixes in 1 projects; 53 projects unchanged)
apache/airflow (+2 -2 violations, +0 -0 fixes)
ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL
+ airflow/providers/cncf/kubernetes/hooks/kubernetes.py:495:9: TRY203 Remove exception handler; error is immediately re-raised - airflow/providers/cncf/kubernetes/hooks/kubernetes.py:495:9: TRY302 Remove exception handler; error is immediately re-raised + airflow/providers/cncf/kubernetes/operators/pod.py:808:9: TRY203 Remove exception handler; error is immediately re-raised - airflow/providers/cncf/kubernetes/operators/pod.py:808:9: TRY302 Remove exception handler; error is immediately re-raised
Changes by rule (2 rules affected)
| code | total | + violation | - violation | + fix | - fix |
|---|---|---|---|---|---|
| TRY203 | 2 | 2 | 0 | 0 | 0 |
| TRY302 | 2 | 0 | 2 | 0 | 0 |
|
Interesting SIM115 false positive and another |
|
Any rules leaving preview on this release? Instead of just behaviors? |
Just behaviour changes this release, I'm afraid. It's quite a busy month for us, and reviewing whether a rule is ready to leave preview takes up a lot of time 🙂 We should be able to stabilise some rules in next month's minor release |
(We chatted about this a bit off GitHub, but just to respond here so others can see -- my feeling is that the accuracy of the rule probably could be improved here, but that these aren't serious enough to delay stabilising the new behaviour. I think it's also sort-of surfacing existing edge cases in the rule rather than this being a new bug that's introduced by the stabilisation. So I'm going to go ahead for now.) |
Summary
Feature branch for the Ruff 0.7 release