diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd46dfbb..6d311f19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 @@ -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: