Skip to content

Commit f766104

Browse files
committed
Sorts imports
1 parent 5ca514d commit f766104

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

fortls/langserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
SUBROUTINE_TYPE_ID,
2929
VAR_TYPE_ID,
3030
FRegex,
31-
log,
3231
Severity,
32+
log,
3333
)
3434
from fortls.helper_functions import (
3535
expand_name,

fortls/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
)
2929
from fortls.ftypes import INCLUDE_info, USE_info
3030
from fortls.helper_functions import get_keywords, get_paren_substring, get_var_stack
31+
from fortls.json_templates import diagnostic_json, location_json, range_json
3132
from fortls.jsonrpc import path_to_uri
32-
from fortls.json_templates import range_json, diagnostic_json, location_json
3333

3434

3535
def get_use_tree(

fortls/parse_fortran.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
from __future__ import annotations, print_function
2-
3-
from collections import Counter, deque
1+
from __future__ import annotations
42

53
import hashlib
64
import logging
75
import os
86
import re
97
import sys
8+
from collections import Counter, deque
109

1110
# Python < 3.8 does not have typing.Literals
1211
try:

0 commit comments

Comments
 (0)