You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BREAKING_CHANGES.md
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Breaking Changes
2
2
3
+
## 0.0.265
4
+
5
+
### `--fix-only` now exits with a zero exit code, unless `--exit-non-zero-on-fix` is specified ([#4146](https://github.com/charliermarsh/ruff/pull/4146))
6
+
7
+
Previously, `--fix-only` would exit with a non-zero exit code if any fixes were applied. This
8
+
behavior was inconsistent with `--fix`, and further, meant that `--exit-non-zero-on-fix` was
9
+
effectively ignored when `--fix-only` was specified.
10
+
11
+
Now, `--fix-only` will exit with a zero exit code, unless `--exit-non-zero-on-fix` is specified,
12
+
in which case it will exit with a non-zero exit code if any fixes were applied.
13
+
3
14
## 0.0.260
4
15
5
16
### Fixes are now represented as a list of edits ([#3709](https://github.com/charliermarsh/ruff/pull/3709))
0 commit comments