X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/bc7e5c949fa14da0a0174354a83567303bafb648..982e7fd9deae3f755a4d5bc1a7757057a98d6245:/.pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index c8a8ff0..de2eb67 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,8 +1,9 @@ -- id: black - name: black - description: 'Black: The uncompromising Python code formatter' - entry: black - language: python - language_version: python3 - require_serial: true - types: [python] +- id: black + name: black + description: "Black: The uncompromising Python code formatter" + entry: black + language: python + language_version: python3 + minimum_pre_commit_version: 2.9.2 + require_serial: true + types_or: [python, pyi]