Skip to content

Commit

Permalink
Tidy pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Jan 2, 2025
1 parent e6400b4 commit 807bef2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ repos:
- id: check-toml
- id: check-added-large-files
- id: check-json
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
additional_dependencies: [toml]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
- id: mypy
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.8.3
rev: 'v0.8.5'
hooks:
- id: ruff
args: [ --fix ]
- id: ruff
args:
- '--fix'
- id: ruff-format
2 changes: 1 addition & 1 deletion custom_components/premium_bond_checker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Premium Bond Checker integration."""
"""Premium Bond Checker integration."""

import logging

Expand Down
2 changes: 1 addition & 1 deletion custom_components/premium_bond_checker/coordinator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Coordinator for Premium Bond Checker integration. """
"""Coordinator for Premium Bond Checker integration."""

import logging
from datetime import timedelta
Expand Down

0 comments on commit 807bef2

Please sign in to comment.