Bump version to v0.4.9 (#11872)

This commit is contained in:
Dhruv Manilawala 2024-06-14 20:36:22 +05:30 committed by GitHub
parent d681a45b08
commit 4f49e918a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 46 additions and 10 deletions

View File

@ -163,6 +163,9 @@ jobs:
with:
target: ${{ matrix.platform.target }}
args: --release --locked --out dist
env:
# aarch64 build fails, see https://github.com/PyO3/maturin/issues/2110
XWIN_VERSION: 16
- name: "Test wheel"
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
shell: bash

View File

@ -1,5 +1,38 @@
# Changelog
## 0.4.9
### Preview features
- \[`pylint`\] Implement `consider-dict-items` (`C0206`) ([#11688](https://github.com/astral-sh/ruff/pull/11688))
- \[`refurb`\] Implement `repeated-global` (`FURB154`) ([#11187](https://github.com/astral-sh/ruff/pull/11187))
### Rule changes
- \[`pycodestyle`\] Adapt fix for `E203` to work identical to `ruff format` ([#10999](https://github.com/astral-sh/ruff/pull/10999))
### Formatter
- Fix formatter instability for lines only consisting of zero-width characters ([#11748](https://github.com/astral-sh/ruff/pull/11748))
### Server
- Add supported commands in server capabilities ([#11850](https://github.com/astral-sh/ruff/pull/11850))
- Use real file path when available in `ruff server` ([#11800](https://github.com/astral-sh/ruff/pull/11800))
- Improve error message when a command is run on an unavailable document ([#11823](https://github.com/astral-sh/ruff/pull/11823))
- Introduce the `ruff.printDebugInformation` command ([#11831](https://github.com/astral-sh/ruff/pull/11831))
- Tracing system now respects log level and trace level, with options to log to a file ([#11747](https://github.com/astral-sh/ruff/pull/11747))
### CLI
- Handle non-printable characters in diff view ([#11687](https://github.com/astral-sh/ruff/pull/11687))
### Bug fixes
- \[`refurb`\] Avoid suggesting starmap when arguments are used outside call (`FURB140`) ([#11830](https://github.com/astral-sh/ruff/pull/11830))
- \[`flake8-bugbear`\] Avoid panic in `B909` when checking large loop blocks ([#11772](https://github.com/astral-sh/ruff/pull/11772))
- \[`refurb`\] Fix misbehavior of `operator.itemgetter` when getter param is a tuple (`FURB118`) ([#11774](https://github.com/astral-sh/ruff/pull/11774))
## 0.4.8
### Performance

4
Cargo.lock generated
View File

@ -1938,7 +1938,7 @@ dependencies = [
[[package]]
name = "ruff"
version = "0.4.8"
version = "0.4.9"
dependencies = [
"anyhow",
"argfile",
@ -2115,7 +2115,7 @@ dependencies = [
[[package]]
name = "ruff_linter"
version = "0.4.8"
version = "0.4.9"
dependencies = [
"aho-corasick",
"annotate-snippets 0.9.2",

View File

@ -152,7 +152,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.8
rev: v0.4.9
hooks:
# Run the linter.
- id: ruff

View File

@ -1,6 +1,6 @@
[package]
name = "ruff"
version = "0.4.8"
version = "0.4.9"
publish = false
authors = { workspace = true }
edition = { workspace = true }

View File

@ -1,6 +1,6 @@
[package]
name = "ruff_linter"
version = "0.4.8"
version = "0.4.9"
publish = false
authors = { workspace = true }
edition = { workspace = true }

View File

@ -14,7 +14,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.8
rev: v0.4.9
hooks:
# Run the linter.
- id: ruff
@ -27,7 +27,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook:
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.8
rev: v0.4.9
hooks:
# Run the linter.
- id: ruff
@ -41,7 +41,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.8
rev: v0.4.9
hooks:
# Run the linter.
- id: ruff

View File

@ -4,7 +4,7 @@ build-backend = "maturin"
[project]
name = "ruff"
version = "0.4.8"
version = "0.4.9"
description = "An extremely fast Python linter and code formatter, written in Rust."
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
readme = "README.md"

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "scripts"
version = "0.4.8"
version = "0.4.9"
description = ""
authors = ["Charles Marsh <charlie.r.marsh@gmail.com>"]