File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ class PackagePath(pathlib.PurePosixPath):
331331 size : int
332332 dist : Distribution
333333
334- def read_text (self , encoding : str = 'utf-8' ) -> str : # type: ignore[override]
334+ def read_text (self , encoding : str = 'utf-8' ) -> str :
335335 return self .locate ().read_text (encoding = encoding )
336336
337337 def read_binary (self ) -> bytes :
@@ -750,7 +750,7 @@ class FastPath:
750750 True
751751 """
752752
753- @functools .lru_cache () # type: ignore
753+ @functools .lru_cache () # type: ignore[misc]
754754 def __new__ (cls , root ):
755755 return super ().__new__ (cls )
756756
Original file line number Diff line number Diff line change 1313from .compat .py312 import import_helper
1414
1515try :
16- from importlib import resources # type: ignore
16+ from importlib import resources
1717
1818 getattr (resources , 'files' )
1919 getattr (resources , 'as_file' )
2020except (ImportError , AttributeError ):
21- import importlib_resources as resources # type: ignore
21+ import importlib_resources as resources # type: ignore[import-not-found, no-redef]
2222
2323
2424@contextlib .contextmanager
You can’t perform that action at this time.
0 commit comments