Enable Ruff PLR (Pylint Refactor) (#13307)

This commit is contained in:
Avasam authored and GitHub committed 2025-03-03 18:03:34 +01:00
1 parent 3e83e42a0f
commit 6f98c59f93
8 files changed
+18 -8

No files matched your search

+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