Skip to content

Commit

Permalink
Update pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Feb 8, 2023
1 parent c08377d commit 0b1ecae
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@ repos:
entry: bin/update_manifest
language: script
files: ^(custom_components/.+/const\.py|requirements\.txt)$
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.241
hooks:
- id: ruff
args:
- --fix
files: ^(custom_components|bin|tests)/.+\.py$
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [ --py37-plus ]
args: [ --py310-plus ]
stages: [manual]
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
Expand All @@ -27,6 +35,7 @@ repos:
- flake8-docstrings==1.5.0
- pydocstyle==5.0.2
files: ^(custom_components|bin|tests)/.+\.py$
stages: [manual]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
Expand Down

0 comments on commit 0b1ecae

Please sign in to comment.