X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a497570fcb364b40e0d952d3133e8d4f2d329fea..3fca540d05a0f0b4480cfcce84d7e0392270b841:/.pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e12e46..9955a24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,8 +8,9 @@ repos: name: black language: system entry: black + minimum_pre_commit_version: 2.9.2 require_serial: true - types: [python] + types_or: [python, pyi] - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.1 @@ -23,8 +24,8 @@ repos: - id: mypy exclude: ^docs/conf.py - - repo: https://github.com/prettier/prettier - rev: 1.19.1 + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v1.19.1 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88]