mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 21:15:17 +08:00
Enable Ruff PLR (Pylint Refactor) (#13307)
This commit is contained in:
1 parent
3e83e42a0f
commit
6f98c59f93
8 files changed
+18
-8
No files matched your search
@@ -16,9 +16,9 @@ if sys.version_info >= (3, 10):
|
||||
from zipimport import zipimporter
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
import importlib.resources.abc as abc
|
||||
from importlib.resources import abc
|
||||
else:
|
||||
import importlib.abc as abc
|
||||
from importlib import abc
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
if sys.version_info >= (3, 11):
|
||||
|
||||
Reference in new issue
Block a user