From 987d3ded470ab0cbffb0d31027c8caaee804016e Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 24 Mar 2025 21:19:57 +0100 Subject: [PATCH] chore: update ruff to 0.11.0 --- .ruff.toml | 8 ++++---- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index c37521f..0e81fbb 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -8,7 +8,7 @@ select = [ ] ignore = [ - "ANN101", # Missing type annotation for `self` in method + # "ANN101", # Missing type annotation for `self` in method "ANN401", # Dynamically typed expressions (typing.Any) are disallowed "ARG001", # ARG001, we don't use i "D203", # no-blank-line-before-class (incompatible with formatter) @@ -17,9 +17,9 @@ ignore = [ "ISC001", # incompatible with formatter # Moving imports into type-checking blocks can mess with pytest.patch() - "TCH001", # Move application import {} into a type-checking block - "TCH002", # Move third-party import {} into a type-checking block - "TCH003", # Move standard library import {} into a type-checking block + "TC001", # Move application import {} into a type-checking block + "TC002", # Move third-party import {} into a type-checking block + "TC003", # Move standard library import {} into a type-checking block "TRY003", # Avoid specifying long messages outside the exception class ] diff --git a/requirements.txt b/requirements.txt index d81a333..7146e3a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ beautifulsoup4 colorlog==6.8.2 homeassistant==2024.6.0 pip>=21.3.1 -ruff==0.6.7 +ruff==0.11.0