Skip to content

Commit 12aab70

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4d3effe commit 12aab70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortls/parse_fortran.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def read_imp_stmt(line: str) -> tuple[Literal["import"], Import] | None:
673673
# import :: a, b, c
674674
# import a, b, c
675675
trailing_line = line[import_match.end(0) - 1 :].lower()
676-
import_list = set([import_obj.strip() for import_obj in trailing_line.split(",")])
676+
import_list = {import_obj.strip() for import_obj in trailing_line.split(",")}
677677
return "import", Import("#import", ImportTypes.ONLY, import_list)
678678

679679

0 commit comments

Comments
 (0)