Bump version to v0.1.4 (#8477)

This commit is contained in:
Charlie Marsh 2023-11-03 11:52:56 -07:00 committed by GitHub
parent 65effc6666
commit 260ea41975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 20 additions and 21 deletions

8
Cargo.lock generated
View File

@ -810,7 +810,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]] [[package]]
name = "flake8-to-ruff" name = "flake8-to-ruff"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -2060,7 +2060,7 @@ dependencies = [
[[package]] [[package]]
name = "ruff_cli" name = "ruff_cli"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"annotate-snippets 0.9.1", "annotate-snippets 0.9.1",
"anyhow", "anyhow",
@ -2196,7 +2196,7 @@ dependencies = [
[[package]] [[package]]
name = "ruff_linter" name = "ruff_linter"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"annotate-snippets 0.9.1", "annotate-snippets 0.9.1",
@ -2447,7 +2447,7 @@ dependencies = [
[[package]] [[package]]
name = "ruff_shrinking" name = "ruff_shrinking"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

View File

@ -148,10 +148,9 @@ ruff format @arguments.txt # Format using an input file, treating its
Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff-pre-commit`](https://github.com/astral-sh/ruff-pre-commit): Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff-pre-commit`](https://github.com/astral-sh/ruff-pre-commit):
```yaml ```yaml
# Run the Ruff linter.
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.1.3 rev: v0.1.4
hooks: hooks:
# Run the Ruff linter. # Run the Ruff linter.
- id: ruff - id: ruff

View File

@ -1,6 +1,6 @@
[package] [package]
name = "flake8-to-ruff" name = "flake8-to-ruff"
version = "0.1.3" version = "0.1.4"
description = """ description = """
Convert Flake8 configuration files to Ruff configuration files. Convert Flake8 configuration files to Ruff configuration files.
""" """

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ruff_cli" name = "ruff_cli"
version = "0.1.3" version = "0.1.4"
publish = false publish = false
authors = { workspace = true } authors = { workspace = true }
edition = { workspace = true } edition = { workspace = true }

View File

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

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ruff_shrinking" name = "ruff_shrinking"
version = "0.1.3" version = "0.1.4"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -12,18 +12,18 @@ which supports fix actions, import sorting, and more.
Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-commit`](https://github.com/astral-sh/ruff-pre-commit): Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-commit`](https://github.com/astral-sh/ruff-pre-commit):
```yaml ```yaml
# Run the Ruff formatter.
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.291
hooks:
- id: ruff-format
# Run the Ruff linter. # Run the Ruff linter.
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.0.291 rev: v0.0.291
hooks: hooks:
- id: ruff - id: ruff
# Run the Ruff formatter.
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.291
hooks:
- id: ruff-format
``` ```
To enable fixes, add the `--fix` argument to the linter: To enable fixes, add the `--fix` argument to the linter:
@ -47,7 +47,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe
rev: v0.0.291 rev: v0.0.291
hooks: hooks:
- id: ruff - id: ruff
types_or: [python, pyi, jupyter] types_or: [ python, pyi, jupyter ]
``` ```
Ruff's lint hook should be placed after other formatting tools, such as Ruff's format hook, Black, Ruff's lint hook should be placed after other formatting tools, such as Ruff's format hook, Black,

View File

@ -284,13 +284,13 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be
# Run the Ruff linter. # Run the Ruff linter.
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.1.3 rev: v0.1.4
hooks: hooks:
- id: ruff - id: ruff
# Run the Ruff formatter. # Run the Ruff formatter.
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.1.3 rev: v0.1.4
hooks: hooks:
- id: ruff-format - id: ruff-format
``` ```

View File

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

View File

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