From 8a52a3bf1b7930e8dec5e623b5938c69f381c565 Mon Sep 17 00:00:00 2001 From: Fundor333 Date: Sun, 1 May 2022 23:12:44 +0200 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 83 ++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 42 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1d7f82..9ee9527 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,44 +1,43 @@ fail_fast: true repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 - hooks: - - id: check-merge-conflict - - id: detect-private-key - - id: check-symlinks - - id: check-toml - - id: check-xml - - id: check-yaml - - id: forbid-new-submodules - - id: mixed-line-ending - - id: trailing-whitespace - language: python - - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.8.0 # Use the ref you want to point at - hooks: - - id: python-no-eval - - id: python-no-log-warn - - id: python-use-type-annotations - - repo: https://github.com/asottile/pyupgrade - rev: v2.11.0 - hooks: - - id: pyupgrade - args: [--py310-plus] - - repo: https://github.com/ambv/black - rev: 20.8b1 - hooks: - - id: black - language_version: python3.9 - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.0 - hooks: - - id: flake8 - - repo: https://github.com/asottile/blacken-docs - rev: v1.10.0 - hooks: - - id: blacken-docs - - repo: https://github.com/pre-commit/mirrors-scss-lint - rev: v0.59.0 - hooks: - - id: scss-lint - + - repo: https://github.com/asottile/reorder_python_imports + rev: v3.1.0 + hooks: + - id: reorder-python-imports + - repo: https://github.com/psf/black + rev: 22.3.0 + hooks: + - id: black + language_version: python3.9 + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.1.0 + hooks: + - id: check-merge-conflict + - id: detect-private-key + - id: check-symlinks + - id: check-toml + - id: check-xml + - id: check-yaml + - id: forbid-new-submodules + - id: mixed-line-ending + - id: trailing-whitespace + language: python + - repo: https://github.com/pre-commit/pygrep-hooks + rev: v1.9.0 # Use the ref you want to point at + hooks: + - id: python-no-eval + - id: python-no-log-warn + - id: python-use-type-annotations + - repo: https://github.com/asottile/pyupgrade + rev: v2.31.1 + hooks: + - id: pyupgrade + args: [ --py311-plus ] + - repo: https://gitlab.com/pycqa/flake8 + rev: 3.9.2 + hooks: + - id: flake8 + - repo: https://github.com/pre-commit/mirrors-scss-lint + rev: v0.59.0 + hooks: + - id: scss-lint