🛠️ Pre Commit Hooks adjusted.
This commit is contained in:
+18
-17
@@ -4,15 +4,15 @@ default_language_version:
|
|||||||
default_stages: [commit, push]
|
default_stages: [commit, push]
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
# - repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
# rev: "v4.4.0"
|
rev: "v4.4.0"
|
||||||
# hooks:
|
hooks:
|
||||||
# - id: check-case-conflict
|
- id: check-case-conflict
|
||||||
# - id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
# - id: check-toml
|
- id: check-toml
|
||||||
# - id: check-yaml
|
- id: check-yaml
|
||||||
# - id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
# - id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
rev: "v0.0.230"
|
rev: "v0.0.230"
|
||||||
@@ -39,6 +39,7 @@ repos:
|
|||||||
# entry: poetry run pyupgrade --py310-plus
|
# entry: poetry run pyupgrade --py310-plus
|
||||||
# types: [python]
|
# types: [python]
|
||||||
# language: system
|
# language: system
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
@@ -46,11 +47,11 @@ repos:
|
|||||||
entry: poetry run isort --settings-path pyproject.toml
|
entry: poetry run isort --settings-path pyproject.toml
|
||||||
types: [python]
|
types: [python]
|
||||||
language: system
|
language: system
|
||||||
#
|
|
||||||
# - repo: local
|
- repo: local
|
||||||
# hooks:
|
hooks:
|
||||||
# - id: black
|
- id: black
|
||||||
# name: black
|
name: black
|
||||||
# entry: poetry run black --config pyproject.toml
|
entry: poetry run black --config pyproject.toml
|
||||||
# types: [python]
|
types: [python]
|
||||||
# language: system
|
language: system
|
||||||
|
|||||||
Reference in New Issue
Block a user