diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca0cfeec..4525f225 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,19 +10,21 @@ default_language_version: python: python3 repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.7 + rev: v0.12.11 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - - id: fix-encoding-pragma - args: [--remove] - id: end-of-file-fixer - id: trailing-whitespace +- repo: https://github.com/asottile/pyupgrade + rev: v3.20.0 + hooks: + - id: pyupgrade - repo: https://github.com/asottile/blacken-docs rev: 1.19.1 hooks: @@ -53,6 +55,6 @@ repos: args: [--ignore-words-list, 'titel,alls,ans,nd,mater,nwo,te,hart,ontop,ist,ot,fo'] types_or: [python, rst, markdown] - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.403 + rev: v1.1.404 hooks: - id: pyright