🛠️ Isort isn't used anymore due to conflicts with black. Black reformatting done. Pre-Commit-Hook version upgrades.
This commit is contained in:
+16
-10
@@ -5,7 +5,7 @@ default_stages: [commit, push]
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: "v4.4.0"
|
||||
rev: "v4.5.0"
|
||||
hooks:
|
||||
- id: check-case-conflict
|
||||
- id: check-merge-conflict
|
||||
@@ -15,17 +15,17 @@ repos:
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: "v0.0.230"
|
||||
rev: "v0.1.12"
|
||||
hooks:
|
||||
- id: ruff
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v3.0.3"
|
||||
rev: "v3.1.0"
|
||||
hooks:
|
||||
- id: prettier
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.5.0
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
@@ -40,13 +40,19 @@ repos:
|
||||
# types: [python]
|
||||
# language: system
|
||||
|
||||
- repo: local
|
||||
- repo: https://github.com/asottile/seed-isort-config
|
||||
rev: v2.2.0
|
||||
hooks:
|
||||
- id: isort
|
||||
name: isort
|
||||
entry: poetry run isort --settings-path pyproject.toml
|
||||
types: [python]
|
||||
language: system
|
||||
- id: seed-isort-config
|
||||
|
||||
# Disabled du to conflicts with black and I like the style of black more.
|
||||
# - repo: local
|
||||
# hooks:
|
||||
# - id: isort
|
||||
# name: isort
|
||||
# entry: poetry run isort --settings-path pyproject.toml
|
||||
# types: [python]
|
||||
# language: system
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user