Skip to content

Commit 77f8008

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fortls/parse_fortran.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,9 @@ def load_from_disk(self) -> tuple[str | None, bool | None]:
872872
return "Could not read/decode file", None
873873
else:
874874
# Check if files are the same
875-
hash = hashlib.md5(contents.encode("utf-8"), usedforsecurity=False).hexdigest()
875+
hash = hashlib.md5(
876+
contents.encode("utf-8"), usedforsecurity=False
877+
).hexdigest()
876878
if hash == self.hash:
877879
return None, False
878880

0 commit comments

Comments
 (0)