From d9eda627063e12ff38e785474202ca4b6c5f51e0 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Mon, 12 Feb 2024 18:05:51 +0900 Subject: [PATCH] Prepare universal workflow --- ....pre-commit-config.yaml => .pre-commit-config.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) rename .github/.pre-commit-config.yaml => .pre-commit-config.yaml (56%) diff --git a/.github/.pre-commit-config.yaml b/.pre-commit-config.yaml similarity index 56% rename from .github/.pre-commit-config.yaml rename to .pre-commit-config.yaml index 07d586e8d..0438c73dc 100644 --- a/.github/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,14 @@ hooks: - id: shellcheck - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: end-of-file-fixer - - id: trailing-whitespace \ No newline at end of file + - id: trailing-whitespace + - id: check-yaml + - id: check-symlinks + - id: pretty-format-json +- repo: https://github.com/asottile/setup-cfg-fmt + rev: v2.5.0 + hooks: + - id: setup-cfg-fmt