Skip to content

Commit 8bf1d23

Browse files
committed
Fixes typing issues with python 3.8
1 parent a2feac7 commit 8bf1d23

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

fortls/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
from multiprocessing import freeze_support
99

1010
from ._version import __version__
11+
from .helper_functions import resolve_globs, only_dirs
1112
from .jsonrpc import JSONRPC2Connection, ReadWriter, path_from_uri
12-
from .langserver import LangServer, resolve_globs, only_dirs
13+
from .langserver import LangServer
1314
from .parse_fortran import fortran_file, process_file
1415

1516

fortls/helper_functions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import logging
24
import os
35
from pathlib import Path

fortls/langserver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# TODO: make FORTRAN_EXT_REGEX be able to update from user input extensions
22
# TODO: enable jsonc C-style comments
3-
43
from __future__ import annotations
54

65
import json

0 commit comments

Comments
 (0)