Mirror: 0.2.1

This commit is contained in:
Github Actions 2024-02-05 22:30:15 +00:00
parent ae24203671
commit 1bd02b3569
2 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# ruff-pre-commit # ruff-pre-commit
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![image](https://img.shields.io/pypi/v/ruff/0.2.0.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/v/ruff/0.2.1.svg)](https://pypi.python.org/pypi/ruff)
[![image](https://img.shields.io/pypi/l/ruff/0.2.0.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/l/ruff/0.2.1.svg)](https://pypi.python.org/pypi/ruff)
[![image](https://img.shields.io/pypi/pyversions/ruff/0.2.0.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/pyversions/ruff/0.2.1.svg)](https://pypi.python.org/pypi/ruff)
[![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions)
A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff).
@ -19,7 +19,7 @@ To run Ruff's [linter](https://docs.astral.sh/ruff/linter) and [formatter](https
```yaml ```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.2.0 rev: v0.2.1
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff - id: ruff
@ -32,7 +32,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook:
```yaml ```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.2.0 rev: v0.2.1
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff - id: ruff
@ -46,7 +46,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe
```yaml ```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.2.0 rev: v0.2.1
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff - id: ruff

View File

@ -2,7 +2,7 @@
name = "ruff-pre-commit" name = "ruff-pre-commit"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"ruff==0.2.0", "ruff==0.2.1",
] ]
[project.optional-dependencies] [project.optional-dependencies]