-
-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update pre-commit versions * update pre-commit versions * add ruff parameter to avoid to many modifications in this PR * revert change pre-commit/action
- Loading branch information
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,43 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-toml | ||
- id: check-yaml | ||
exclude: ^tests/cassettes/ | ||
- id: end-of-file-fixer | ||
|
||
- repo: https://github.com/crate-ci/typos | ||
rev: v1.22.0 | ||
rev: v1.24.5 | ||
hooks: | ||
- id: typos | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.4.7 | ||
rev: v0.6.4 | ||
hooks: | ||
- id: ruff | ||
args: [ --fix, --unsafe-fixes ] | ||
args: [--fix, --unsafe-fixes] | ||
- id: ruff-format | ||
|
||
- repo: https://github.com/abravalheri/validate-pyproject | ||
rev: v0.18 | ||
rev: v0.19 | ||
hooks: | ||
- id: validate-pyproject | ||
name: validate-pyproject | ||
|
||
- repo: https://github.com/PyCQA/doc8 | ||
rev: v1.1.1 | ||
rev: v1.1.2 | ||
hooks: | ||
- id: doc8 | ||
description: This hook runs doc8 for linting docs | ||
require_serial: true | ||
|
||
- repo: local | ||
hooks: | ||
- id: changelog-fragment-filenames | ||
name: changelog fragment | ||
language: fail | ||
entry: changelog fragment files must be named *.(breaking|change|provider|refiner|deprecation|doc|misc).rst | ||
exclude: ^changelog.d/(\..*|towncrier_template.rst|.*\.(breaking|change|provider|refiner|deprecation|doc|misc).rst) | ||
files: ^changelog.d/ | ||
- id: changelog-fragment-filenames | ||
name: changelog fragment | ||
language: fail | ||
entry: changelog fragment files must be named *.(breaking|change|provider|refiner|deprecation|doc|misc).rst | ||
exclude: | ||
^changelog.d/(\..*|towncrier_template.rst|.*\.(breaking|change|provider|refiner|deprecation|doc|misc).rst) | ||
files: ^changelog.d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters