diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c459e37c..e66cc3b3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_stages: [commit, push] default_language_version: # force all unspecified Python hooks to run python3 python: python3 -minimum_pre_commit_version: '2.18.1' +minimum_pre_commit_version: "2.18.1" repos: - repo: meta hooks: @@ -35,7 +35,7 @@ repos: - id: forbid-tabs exclude: Makefile$|Makefile\..+$|makefile$|\.mk$ - id: remove-tabs - args: [--whitespaces-count, '2'] + args: [--whitespaces-count, "2"] exclude: Makefile$|Makefile\..+$|makefile$|\.mk$ - repo: https://github.com/codespell-project/codespell rev: v2.2.6 @@ -50,6 +50,10 @@ repos: - id: script-must-not-have-extension name: Local policy is to exclude extension from all shell files types: [shell] + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v4.0.0-alpha.8 + hooks: + - id: prettier - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.38.0 hooks: