From 8455d424d68acbc84c2e003b4b6a8fe73ef926b9 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 16 Sep 2024 15:45:18 -0500 Subject: [PATCH] chore(refactor): update pre-commit hook verions, pyupgrade target Python version (#106) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71f05ce..9f27814 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,20 +11,20 @@ repos: - id: debug-statements - id: requirements-txt-fixer - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.10.0' + rev: 'v1.11.2' hooks: - id: mypy additional_dependencies: [types-PyYAML] args: ["--config-file=pyproject.toml", "src/", "docs/"] pass_filenames: false - repo: https://github.com/asottile/pyupgrade - rev: 'v3.15.2' + rev: 'v3.17.0' hooks: - id: pyupgrade args: - - --py38-plus + - --py39-plus - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.3 + rev: 0.29.2 hooks: - id: check-metaschema files: ^src/rapids_dependency_file_generator/schema.json$ @@ -33,7 +33,7 @@ repos: args: ["--schemafile", "src/rapids_dependency_file_generator/schema.json"] - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.6.2 hooks: - id: ruff files: src/.*$