Introduce some stricter typing

This commit is contained in:
Dave Halter committed 2026-02-04 01:19:14 +01:00
1 parent c7481b3319
commit 30ef824abd
28 files changed
+171 -67

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
import os
from typing import Any
from parso import file_io
@@ -58,6 +59,8 @@ class FolderIO(AbstractFolderIO):
class FileIOFolderMixin:
path: Any
def get_parent_folder(self):
return FolderIO(os.path.dirname(self.path))