Skip to content

Commit f42fc34

Browse files
committed
refactor(ast): update resolve_includes method signature's typing to include None
1 parent ad91f4b commit f42fc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortls/parsers/internal/ast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def find_child_by_name(parent, name):
251251

252252
return current
253253

254-
def resolve_includes(self, workspace, path: str = None):
254+
def resolve_includes(self, workspace, path: str | None = None):
255255
file_dir = os.path.dirname(self.path)
256256
for inc in self.include_statements:
257257
file_path = os.path.normpath(os.path.join(file_dir, inc.path))

0 commit comments

Comments
 (0)