Bump version to 0.0.237

This commit is contained in:
Charlie Marsh 2023-01-28 10:52:14 -05:00
parent ec24947865
commit add7fefeb5
11 changed files with 20 additions and 18 deletions

View File

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.236
rev: v0.0.237
hooks:
- id: ruff
args: [--fix]

View File

@ -14,7 +14,7 @@
# Oops! The command has to come first.
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.)
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.
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.
(The semantics of `ruff -- <arg>` have not changed.)

10
Cargo.lock generated
View File

@ -750,7 +750,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flake8-to-ruff"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"anyhow",
"clap 4.1.4",
@ -1922,7 +1922,7 @@ dependencies = [
[[package]]
name = "ruff"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"anyhow",
"bitflags",
@ -1977,7 +1977,7 @@ dependencies = [
[[package]]
name = "ruff_cli"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"annotate-snippets 0.9.1",
"anyhow",
@ -2014,7 +2014,7 @@ dependencies = [
[[package]]
name = "ruff_dev"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"anyhow",
"clap 4.1.4",
@ -2035,7 +2035,7 @@ dependencies = [
[[package]]
name = "ruff_macros"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"once_cell",
"proc-macro2",

View File

@ -8,7 +8,7 @@ default-members = [".", "ruff_cli"]
[package]
name = "ruff"
version = "0.0.236"
version = "0.0.237"
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
edition = "2021"
rust-version = "1.65.0"
@ -46,7 +46,7 @@ num-traits = "0.2.15"
once_cell = { version = "1.16.0" }
path-absolutize = { version = "3.0.14", features = ["once_cell_cache", "use_unix_paths_on_wasm"] }
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" }
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "4f38cb68e4a97aeea9eb19673803a0bd5f655383" }
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "4f38cb68e4a97aeea9eb19673803a0bd5f655383" }

View File

@ -222,7 +222,7 @@ Ruff also works with [pre-commit](https://pre-commit.com):
```yaml
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.236'
rev: 'v0.0.237'
hooks:
- id: ruff
```

View File

@ -771,7 +771,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flake8_to_ruff"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"anyhow",
"clap",
@ -1975,7 +1975,7 @@ dependencies = [
[[package]]
name = "ruff"
version = "0.0.236"
version = "0.0.237"
dependencies = [
"anyhow",
"bincode",

View File

@ -1,6 +1,6 @@
[package]
name = "flake8-to-ruff"
version = "0.0.236"
version = "0.0.237"
edition = "2021"
[dependencies]

View File

@ -7,7 +7,7 @@ build-backend = "maturin"
[project]
name = "ruff"
version = "0.0.236"
version = "0.0.237"
description = "An extremely fast Python linter, written in Rust."
authors = [
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },

View File

@ -1,6 +1,6 @@
[package]
name = "ruff_cli"
version = "0.0.236"
version = "0.0.237"
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
edition = "2021"
rust-version = "1.65.0"

View File

@ -1,6 +1,6 @@
[package]
name = "ruff_dev"
version = "0.0.236"
version = "0.0.237"
edition = "2021"
[dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "ruff_macros"
version = "0.0.236"
version = "0.0.237"
edition = "2021"
[lib]