Enable Ruff PLR (Pylint Refactor) (#13307)

This commit is contained in:
Avasam
2025-03-03 18:03:34 +01:00
committed by GitHub
parent 3e83e42a0f
commit 6f98c59f93
8 changed files with 18 additions and 8 deletions
+2
View File
@@ -1,3 +1,5 @@
# ruff: noqa: PLR5501 # This condition is so big, it's clearer to keep to platform condition in two blocks
# Can't NOQA on a specific line: https://github.com/plinss/flake8-noqa/issues/22
import sys
from collections.abc import Awaitable, Coroutine, Generator
from typing import Any, TypeVar