Skip to content

Commit

Permalink
Merge pull request #24 from os-climate/update-devops-tooling
Browse files Browse the repository at this point in the history
Chore: Update DevOps tooling from central repository [skip ci]
  • Loading branch information
ModeSevenIndustrialSolutions authored Jun 24, 2024
2 parents dcb3de1 + af550c5 commit 75fbd23
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ repos:
- id: actionlint

- repo: https://github.com/pycqa/flake8
rev: "7.0.0"
rev: "7.1.0"
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -104,14 +104,22 @@ repos:
args: [ "-d", "{rules: {line-length: {max: 120}}, ignore-from-file: [.gitignore],}", ]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.4.9
hooks:
- id: ruff
files: ^(scripts|tests|custom_components)/.+\.py$
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
files: ^(scripts|tests|custom_components)/.+\.py$

- repo: local
hooks:
- id: mypy-cache
name: "create mypy cache"
language: system
pass_filenames: false
entry: bash -c 'if [ ! -d .mypy_cache ]; then /bin/mkdir .mypy_cache; fi; exit 0'

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.0"
hooks:
Expand Down

0 comments on commit 75fbd23

Please sign in to comment.