Update .pre-commit-config.yaml

This commit is contained in:
Fundor333
2022-05-01 23:12:44 +02:00
committed by GitHub
parent cd2fe6f4a6
commit 8a52a3bf1b

View File

@@ -1,44 +1,43 @@
fail_fast: true fail_fast: true
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/asottile/reorder_python_imports
rev: v3.4.0 rev: v3.1.0
hooks: hooks:
- id: check-merge-conflict - id: reorder-python-imports
- id: detect-private-key - repo: https://github.com/psf/black
- id: check-symlinks rev: 22.3.0
- id: check-toml hooks:
- id: check-xml - id: black
- id: check-yaml language_version: python3.9
- id: forbid-new-submodules - repo: https://github.com/pre-commit/pre-commit-hooks
- id: mixed-line-ending rev: v4.1.0
- id: trailing-whitespace hooks:
language: python - id: check-merge-conflict
- repo: https://github.com/pre-commit/pygrep-hooks - id: detect-private-key
rev: v1.8.0 # Use the ref you want to point at - id: check-symlinks
hooks: - id: check-toml
- id: python-no-eval - id: check-xml
- id: python-no-log-warn - id: check-yaml
- id: python-use-type-annotations - id: forbid-new-submodules
- repo: https://github.com/asottile/pyupgrade - id: mixed-line-ending
rev: v2.11.0 - id: trailing-whitespace
hooks: language: python
- id: pyupgrade - repo: https://github.com/pre-commit/pygrep-hooks
args: [--py310-plus] rev: v1.9.0 # Use the ref you want to point at
- repo: https://github.com/ambv/black hooks:
rev: 20.8b1 - id: python-no-eval
hooks: - id: python-no-log-warn
- id: black - id: python-use-type-annotations
language_version: python3.9 - repo: https://github.com/asottile/pyupgrade
- repo: https://gitlab.com/pycqa/flake8 rev: v2.31.1
rev: 3.9.0 hooks:
hooks: - id: pyupgrade
- id: flake8 args: [ --py311-plus ]
- repo: https://github.com/asottile/blacken-docs - repo: https://gitlab.com/pycqa/flake8
rev: v1.10.0 rev: 3.9.2
hooks: hooks:
- id: blacken-docs - id: flake8
- repo: https://github.com/pre-commit/mirrors-scss-lint - repo: https://github.com/pre-commit/mirrors-scss-lint
rev: v0.59.0 rev: v0.59.0
hooks: hooks:
- id: scss-lint - id: scss-lint