mirror of https://github.com/astral-sh/ruff
Bump version to 0.0.237
This commit is contained in:
parent
ec24947865
commit
add7fefeb5
|
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
rev: v0.0.236
|
rev: v0.0.237
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
# Oops! The command has to come first.
|
# Oops! The command has to come first.
|
||||||
ruff --format json --explain E402 # No longer works.
|
ruff --format json --explain E402 # No longer works.
|
||||||
ruff --explain E402 --format json # Works!
|
ruff --explain E402 --format json # Still works!
|
||||||
ruff rule E402 --format json # Works! (And preferred.)
|
ruff rule E402 --format json # Works! (And preferred.)
|
||||||
|
|
||||||
This change is largely backwards compatible -- most users should experience
|
This change is largely backwards compatible -- most users should experience
|
||||||
|
|
@ -29,7 +29,9 @@ no change in behavior. However, please note the following exceptions:
|
||||||
|
|
||||||
* The semantics of `ruff <arg>` have changed slightly when `<arg>` is a valid subcommand.
|
* The semantics of `ruff <arg>` have changed slightly when `<arg>` is a valid subcommand.
|
||||||
For example, prior to this release, running `ruff rule` would run `ruff` over a file or
|
For example, prior to this release, running `ruff rule` would run `ruff` over a file or
|
||||||
directory called `rule`. Now, `ruff rule` would invoke the `rule` subcommand.
|
directory called `rule`. Now, `ruff rule` would invoke the `rule` subcommand. This should
|
||||||
|
only impact projects with files or directories named `rule`, `check`, `explain`, `clean`,
|
||||||
|
or `generate-shell-completion`.
|
||||||
|
|
||||||
* Scripts that invoke ruff should supply `--` before any positional arguments.
|
* Scripts that invoke ruff should supply `--` before any positional arguments.
|
||||||
(The semantics of `ruff -- <arg>` have not changed.)
|
(The semantics of `ruff -- <arg>` have not changed.)
|
||||||
|
|
|
||||||
|
|
@ -750,7 +750,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flake8-to-ruff"
|
name = "flake8-to-ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap 4.1.4",
|
"clap 4.1.4",
|
||||||
|
|
@ -1922,7 +1922,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ruff"
|
name = "ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bitflags",
|
"bitflags",
|
||||||
|
|
@ -1977,7 +1977,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ruff_cli"
|
name = "ruff_cli"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"annotate-snippets 0.9.1",
|
"annotate-snippets 0.9.1",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
@ -2014,7 +2014,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ruff_dev"
|
name = "ruff_dev"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap 4.1.4",
|
"clap 4.1.4",
|
||||||
|
|
@ -2035,7 +2035,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ruff_macros"
|
name = "ruff_macros"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ default-members = [".", "ruff_cli"]
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "ruff"
|
name = "ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
|
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.65.0"
|
rust-version = "1.65.0"
|
||||||
|
|
@ -46,7 +46,7 @@ num-traits = "0.2.15"
|
||||||
once_cell = { version = "1.16.0" }
|
once_cell = { version = "1.16.0" }
|
||||||
path-absolutize = { version = "3.0.14", features = ["once_cell_cache", "use_unix_paths_on_wasm"] }
|
path-absolutize = { version = "3.0.14", features = ["once_cell_cache", "use_unix_paths_on_wasm"] }
|
||||||
regex = { version = "1.6.0" }
|
regex = { version = "1.6.0" }
|
||||||
ruff_macros = { version = "0.0.236", path = "ruff_macros" }
|
ruff_macros = { version = "0.0.237", path = "ruff_macros" }
|
||||||
rustc-hash = { version = "1.1.0" }
|
rustc-hash = { version = "1.1.0" }
|
||||||
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "4f38cb68e4a97aeea9eb19673803a0bd5f655383" }
|
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "4f38cb68e4a97aeea9eb19673803a0bd5f655383" }
|
||||||
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "4f38cb68e4a97aeea9eb19673803a0bd5f655383" }
|
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "4f38cb68e4a97aeea9eb19673803a0bd5f655383" }
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@ Ruff also works with [pre-commit](https://pre-commit.com):
|
||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: 'v0.0.236'
|
rev: 'v0.0.237'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -771,7 +771,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flake8_to_ruff"
|
name = "flake8_to_ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
@ -1975,7 +1975,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ruff"
|
name = "ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "flake8-to-ruff"
|
name = "flake8-to-ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ build-backend = "maturin"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "ruff"
|
name = "ruff"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
description = "An extremely fast Python linter, written in Rust."
|
description = "An extremely fast Python linter, written in Rust."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },
|
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ruff_cli"
|
name = "ruff_cli"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
|
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.65.0"
|
rust-version = "1.65.0"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ruff_dev"
|
name = "ruff_dev"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ruff_macros"
|
name = "ruff_macros"
|
||||||
version = "0.0.236"
|
version = "0.0.237"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue