Skip to content

Commit

Permalink
Update pre-commit hooks (#306)
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Bieniek <[email protected]>
  • Loading branch information
bieniu and bieniu authored Feb 6, 2024
1 parent 0be88e1 commit aaa9e8e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 65 deletions.
14 changes: 9 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
rev: v0.2.1
hooks:
- id: ruff
args:
Expand All @@ -20,13 +20,17 @@ repos:
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-yaml
- id: check-json
- id: check-toml
- id: pretty-format-json
args:
- --no-sort-keys
- id: no-commit-to-branch
args:
- --branch=master
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.33.0
hooks:
- id: yamllint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
Expand Down
59 changes: 0 additions & 59 deletions .yamllint

This file was deleted.

2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest-cov==4.1.0
pytest-error-for-skips==2.0.2
pytest-timeout==2.2.0
pytest==7.4.4
ruff==0.2.0
ruff==0.2.1

0 comments on commit aaa9e8e

Please sign in to comment.