X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a497570fcb364b40e0d952d3133e8d4f2d329fea..6a105e019fcaa10cc0b6fb59edea4a4018eac97e:/.pre-commit-config.yaml?ds=sidebyside diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e12e46..292ed57 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: v2.2.1 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88]