Skip to content

Commit

Permalink
chore: fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsextonMITRE committed Feb 12, 2025
1 parent ccf61d4 commit 50dae8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dioptra/client/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ def analyze_plugin_task_signatures(self, filename=None, fileContents=None) -> T:
"""

filename = filename if filename != None else "<string>"
filename = filename if filename is not None else "<string>"

if fileContents == None:
if fileContents is None:
with open(filename, "r+") as f:
fileContents = f.read()

Expand Down

0 comments on commit 50dae8e

Please sign in to comment.