Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1660)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.267 → v0.0.270](astral-sh/ruff-pre-commit@v0.0.267...v0.0.270)
- [github.com/adrienverge/yamllint: v1.31.0 → v1.32.0](adrienverge/yamllint@v1.31.0...v1.32.0)

* remove redundant pyupgrade (ruff has UP enabled)

* black after ruff as per docs

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: studioj <22102283+studioj@users.noreply.github.com>
Co-authored-by: adehad <26027314+adehad@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 6, 2023
1 parent e781330 commit eea77f6
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
Expand Down Expand Up @@ -32,12 +27,17 @@ repos:
require_serial: false
additional_dependencies: []
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.267"
rev: "v0.0.270"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black # after ruff, as ruff output may need fixing
rev: 23.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/adrienverge/yamllint
rev: v1.31.0
rev: v1.32.0
hooks:
- id: yamllint
files: \.(yaml|yml)$
Expand All @@ -50,8 +50,3 @@ repos:
- types-pkg_resources
args:
[--no-strict-optional, --ignore-missing-imports, --show-error-codes]
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
hooks:
- id: pyupgrade
args: [--py38-plus]

0 comments on commit eea77f6

Please sign in to comment.