From 1fed9c2dcce17b75c88ced738aa6faf482ee8840 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 20:54:20 +0000 Subject: [PATCH] fix(ci): update pre-commit and disable jinjalint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0) - [github.com/pre-commit/mirrors-prettier: v2.5.1 → v2.6.2](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.1...v2.6.2) - [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0) - [github.com/pre-commit/mirrors-mypy: v0.931 → v0.950](https://github.com/pre-commit/mirrors-mypy/compare/v0.931...v0.950) - [github.com/packit/pre-commit-hooks: 1da916777f5cc26ecf221b15e58ca51891d26d94 → 3bf9afc5ede12a4ee26e9451f306edf255749396](https://github.com/packit/pre-commit-hooks/compare/1da916777f5cc26ecf221b15e58ca51891d26d94...3bf9afc5ede12a4ee26e9451f306edf255749396) @mfocko: disabled jinjalint, since upstream is dead (PR with fix is open since February without any reaction from the maintainers): https://github.com/motet-a/jinjalint/pull/33 Signed-off-by: Matej Focko --- .pre-commit-config.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b4bcfaa..d89a5b4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,16 +4,16 @@ repos: - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black language_version: python3 - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.5.1 + rev: v2.6.2 hooks: - id: prettier - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.2.0 hooks: - id: check-added-large-files - id: check-ast @@ -22,14 +22,14 @@ repos: - id: detect-private-key - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/motet-a/jinjalint - rev: 01e0a4d8f1ee775aee00eb9d715eff2b4cc49e4d - hooks: - - id: jinjalint - types: [file] - files: \.(html)$ - args: - - --parse-only + # - repo: https://github.com/motet-a/jinjalint + # rev: 01e0a4d8f1ee775aee00eb9d715eff2b4cc49e4d + # hooks: + # - id: jinjalint + # types: [file] + # files: \.(html)$ + # args: + # - --parse-only - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: @@ -38,14 +38,14 @@ repos: - --max-line-length=100 - --per-file-ignores=packit_dashboard/packit_dashboard.wsgi:F401,E402 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.931 + rev: v0.950 hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports] additional_dependencies: [types-requests, types-Flask] - repo: https://github.com/packit/pre-commit-hooks - rev: 1da916777f5cc26ecf221b15e58ca51891d26d94 + rev: 3bf9afc5ede12a4ee26e9451f306edf255749396 hooks: - id: check-rebase args: