Skip to content

Commit

Permalink
Fix blocking call to open warning in HA 2024.6.0+ (close #196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Oct 5, 2024
1 parent 021bf01 commit c8aaafa
Show file tree
Hide file tree
Showing 7 changed files with 164 additions and 133 deletions.
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ repos:
types: [python]
require_serial: true
files: ^custom_components/.+\.py$
- id: pylint
name: pylint
entry: scripts/run-in-env python3 -m pylint
language: system
types: [python]
# Uncomment lines below to test code on every commit
- id: pytest
name: pytest
Expand Down
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ keep-runtime-typing = true
max-complexity = 25

[lint.per-file-ignores]
"tests/*.py" = ["ANN001", "ANN201", "S101", "SLF001"]
"tests/*.py" = ["ANN001", "ANN201", "S101", "S311", "SLF001"]
Loading

0 comments on commit c8aaafa

Please sign in to comment.