X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6dd16bf7ae4f57827c90bd4c44e50072977bbd0b..988c686d312986760a42cc7edd9a79a8f31c4769:/.pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 9c1b780..de2eb67 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,9 @@ -- id: black - name: black - description: 'Black: The uncompromising Python code formatter' - entry: black - language: python - language_version: python3.6 - 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]