Skip to content

Commit

Permalink
tooling: update git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Dec 5, 2023
1 parent 087d12c commit cb13f3b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0 # Use the ref you want to point at
rev: v1.10.0
hooks:
- id: python-use-type-annotations

Expand All @@ -35,10 +35,10 @@ repos:
- "--py38-plus"

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.6"
rev: "v0.1.7"
hooks:
- id: ruff
args: ["--fix-only"]
args: ["--fix-only", "--target-version=py38"]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
Expand All @@ -50,14 +50,13 @@ repos:
rev: 23.11.0
hooks:
- id: black
args: ["--target-version=py38"]

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
language: python
files: ^mkdocs_rss_plugin/.*\.py$
types: [python]
args: ["--config=setup.cfg", "--select=E9,F63,F7,F82"]

ci:
Expand Down

0 comments on commit cb13f3b

Please sign in to comment.