Skip to content

Commit 3ecd263

Browse files
authored
Bump version to 0.0.284 (#6453)
## What's Changed This release fixes a few bugs, notably the previous release announced a breaking change where the default target Python version changed from 3.10 to 3.8 but it was not applied. Thanks to @rco-ableton for fixing this in #6444 ### Bug Fixes * Do not trigger `S108` if path is inside `tempfile.*` call by @dhruvmanila in #6416 * Do not allow on zero tab width by @tjkuson in #6429 * Fix false-positive in submodule resolution by @charliermarsh in #6435 ## New Contributors * @rco-ableton made their first contribution in #6444 **Full Changelog**: v0.0.283...v0.0.284
1 parent 6acf07c commit 3ecd263

File tree

9 files changed

+15
-13
lines changed

9 files changed

+15
-13
lines changed

BREAKING_CHANGES.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Breaking Changes
22

3-
## 0.0.283
3+
## 0.0.283 / 0.284
44

55
### The target Python version now defaults to 3.8 instead of 3.10 ([#6397](https://github.com/astral-sh/ruff/pull/6397))
66

77
Previously, when a target Python version was not specified, Ruff would use a default of Python 3.10. However, it is safer to default to an _older_ Python version to avoid assuming the availability of new features. We now default to the oldest supported Python version which is currently Python 3.8.
88

99
(We still support Python 3.7 but since [it has reached EOL](https://devguide.python.org/versions/#unsupported-versions) we've decided not to make it the default here.)
1010

11+
Note this change was announced in 0.0.283 but not active until 0.0.284.
12+
1113
## 0.0.277
1214

1315
### `.ipynb_checkpoints`, `.pyenv`, `.pytest_cache`, and `.vscode` are now excluded by default ([#5513](https://github.com/astral-sh/ruff/pull/5513))

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com) hook:
140140
```yaml
141141
- repo: https://github.com/astral-sh/ruff-pre-commit
142142
# Ruff version.
143-
rev: v0.0.283
143+
rev: v0.0.284
144144
hooks:
145145
- id: ruff
146146
```

crates/flake8_to_ruff/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flake8-to-ruff"
3-
version = "0.0.283"
3+
version = "0.0.284"
44
description = """
55
Convert Flake8 configuration files to Ruff configuration files.
66
"""

crates/ruff/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff"
3-
version = "0.0.283"
3+
version = "0.0.284"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

crates/ruff_cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff_cli"
3-
version = "0.0.283"
3+
version = "0.0.284"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

docs/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be
242242
```yaml
243243
- repo: https://github.com/astral-sh/ruff-pre-commit
244244
# Ruff version.
245-
rev: v0.0.283
245+
rev: v0.0.284
246246
hooks:
247247
- id: ruff
248248
```

docs/usage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com) hook:
2222
```yaml
2323
- repo: https://github.com/astral-sh/ruff-pre-commit
2424
# Ruff version.
25-
rev: v0.0.283
25+
rev: v0.0.284
2626
hooks:
2727
- id: ruff
2828
```
@@ -32,7 +32,7 @@ Or, to enable autofix:
3232
```yaml
3333
- repo: https://github.com/astral-sh/ruff-pre-commit
3434
# Ruff version.
35-
rev: v0.0.283
35+
rev: v0.0.284
3636
hooks:
3737
- id: ruff
3838
args: [ --fix, --exit-non-zero-on-fix ]
@@ -43,7 +43,7 @@ Or, to run the hook on Jupyter Notebooks too:
4343
```yaml
4444
- repo: https://github.com/astral-sh/ruff-pre-commit
4545
# Ruff version.
46-
rev: v0.0.283
46+
rev: v0.0.284
4747
hooks:
4848
- id: ruff
4949
types_or: [python, pyi, jupyter]

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "maturin"
55

66
[project]
77
name = "ruff"
8-
version = "0.0.283"
8+
version = "0.0.284"
99
description = "An extremely fast Python linter, written in Rust."
1010
authors = [{ name = "Charlie Marsh", email = "[email protected]" }]
1111
maintainers = [{ name = "Charlie Marsh", email = "[email protected]" }]

0 commit comments

Comments
 (0)