Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludy87 committed Feb 10, 2024
1 parent 0e67907 commit 22ccdb2
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,6 @@ repos:
- id: ruff-format
files: ^((custom_components|script|tests)/.+)?[^/]+\.py$
exclude: custom_components/xplora_watch/geocoder.py
# - repo: https://github.com/PyCQA/autoflake
# rev: v2.2.1
# hooks:
# - id: autoflake
# args:
# - "--in-place"
# - "--remove-duplicate-keys"
# - "--remove-unused-variables"
# - "--remove-all-unused-imports"
# exclude: custom_components/xplora_watch/geocoder.py
# - repo: https://github.com/psf/black-pre-commit-mirror
# rev: 24.1.1
# hooks:
# - id: black
# args:
# - --line-length=127
# - --quiet
# files: ^((custom_components|pylint|script|tests)/.+)?[^/]+\.py$
# exclude: custom_components/xplora_watch/geocoder.py
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
Expand All @@ -58,40 +39,8 @@ repos:
hooks:
- id: check-executables-have-shebangs
stages: [manual]
# - id: check-ast
# exclude: custom_components/xplora_watch/geocoder.py
# - id: check-yaml
# - id: check-toml
- id: check-json
exclude: (.vscode|.devcontainer)
# - id: no-commit-to-branch
# args:
# - --branch=main
# - id: check-added-large-files
# args: [--maxkb=800]
# - id: debug-statements
# - id: detect-aws-credentials
# args: [--allow-missing-credentials]
# - id: detect-private-key
# - id: end-of-file-fixer
# exclude_types: [json]
# - id: forbid-new-submodules
# - id: mixed-line-ending
# args: [--fix=lf]
# exclude_types: [png, yaml, zip]
# exclude: (\.md|\.yml|\.jpg|\.png)$
# - id: trailing-whitespace
# exclude_types: [json]
# - id: pretty-format-json
# args: [--autofix, --no-ensure-ascii]
# exclude: ^(hacs|custom_components/xplora_watch/manifest)\.json$
# - id: check-executables-have-shebangs
# stages: [manual]
# - id: check-case-conflict
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.34.0
hooks:
- id: yamllint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
Expand All @@ -112,10 +61,3 @@ repos:
- --force
- --keep-updates
files: ^(custom_components|tests|script)/.+\.py$
# additional_dependencies:
# - black==24.1.1
# - repo: https://github.com/asottile/pyupgrade
# rev: v3.15.0
# hooks:
# - id: pyupgrade
# args: [--py311-plus]

0 comments on commit 22ccdb2

Please sign in to comment.