Skip to content

Commit

Permalink
update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwesters committed Jul 26, 2023
1 parent 4c07da4 commit 268bad0
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,28 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.3.0
rev: v3.9.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 23.7.0
hooks:
- id: black
args:
- --safe
- --quiet
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.5
hooks:
- id: codespell
args:
- --ignore-words-list=hass,alot,datas,dof,dur,farenheit,hist,iff,ines,ist,lightsensor,mut,nd,pres,referer,ser,serie,te,technik,ue,uint,visability,wan,wanna,withing
- --skip="./.*,*.csv,*.json"
- --quiet-level=2
exclude_types: [csv, json]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings==1.5.0
- pydocstyle==5.0.2
files: ^(homeassistant|script|tests)/.+\.py$
- repo: https://github.com/PyCQA/bandit
rev: 1.7.2
rev: 1.7.5
hooks:
- id: bandit
args:
Expand Down

0 comments on commit 268bad0

Please sign in to comment.