Skip to content

Commit 49a6fb5

Browse files
committed
Update tests
1 parent 2efc2dc commit 49a6fb5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

fortls/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ def set_settings(args):
292292
"max_line_length": args.max_line_length,
293293
"max_comment_line_length": args.max_comment_line_length,
294294
"disable_diagnostics": args.disable_diagnostics,
295-
296295
}
297296
if args.hover_language is not None:
298297
settings["hover_language"] = args.hover_language

fortls/langserver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def only_dirs(paths: list[str], err_msg: list = []) -> list[str]:
141141
continue
142142
else:
143143
msg: str = (
144-
f"Directory '{p}' specified in Configuration settings file does not exist"
144+
f"Directory '{p}' specified in Configuration settings file does not"
145+
" exist"
145146
)
146147
if err_msg:
147148
err_msg.append([2, msg])

test/test_server.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@
99
root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
1010
sys.path.insert(0, root_dir)
1111

12-
from fortls.jsonrpc import (
12+
from fortls.jsonrpc import ( # noqa: E402
1313
path_to_uri,
1414
read_rpc_messages,
1515
write_rpc_notification,
1616
write_rpc_request,
1717
)
1818

19-
run_command = os.path.join(root_dir, "fortls.py --incrmental_sync --use_signature_help")
19+
run_command = os.path.join(
20+
root_dir, "fortls.py --incremental_sync --use_signature_help"
21+
)
2022
test_dir = os.path.join(root_dir, "test", "test_source")
2123

2224

0 commit comments

Comments
 (0)