From e36e4eb9f71a234851bba4a186dde307952d3f08 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 5 Nov 2023 20:14:35 +0200 Subject: [PATCH] .pre-commit-config.yaml: pypy3, fix markdown, sort hooks a bit --- .pre-commit-config.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 126f017..baedc25 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,21 +4,24 @@ ci: # https://github.com/pre-commit-ci/issues/issues/83 autoupdate_schedule: quarterly +default_language_version: + python: pypy3 + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: + - id: trailing-whitespace + args: ["--markdown-linebreak-ext", "md"] + - id: end-of-file-fixer + - id: check-yaml - id: check-added-large-files - id: check-case-conflict - - id: check-yaml - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: destroyed-symlinks - id: detect-private-key - - id: end-of-file-fixer - id: fix-byte-order-marker - - id: trailing-whitespace - exclude_types: [markdown] - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.0.3"