Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,7 +10,7 @@ repos:
types: [text]
files: \.(json|ipynb)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.5
rev: v0.14.2
hooks:
- id: ruff
name: ruff lint (.py)
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,13 @@ ignore = [
"RUF015",
# Use `X | Y` in `isinstance` (see https://github.com/home-assistant/core/issues/123850)
"UP038",
# Pattern passed to `match=` contains metacharacters but is neither escaped nor raw
"RUF043",
"RUF046", # Value being cast to `int` is already an integer

# TODO: Move this ignore so that it only applies in the tests folder. Do in conjunction with any doc related rules
"RUF059", # Unpacked variable `coords` is never used

# TODO: ignore for now (requires more work). Remove ignore once fixed
# Missing docstring in public module
"D100",
Expand Down
Loading