Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in afca090 according to the output
from black.

Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/6fd2508e-61e2-4d2c-aa32-c8e1999e350d/
  • Loading branch information
deepsource-autofix[bot] committed Feb 1, 2022
1 parent afca090 commit 9d7e45e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pysr/sr.py
Expand Up @@ -37,10 +37,9 @@ def install(julia_project=None, quiet=False): # pragma: no cover
else:
io = "stderr"


# Can't pass IO to Julia call as it evaluates to PyObject, so just directly
# use Main.eval:
Main.eval(f"Pkg.activate(\"{_escape_filename(julia_project)}\", io={io})")
Main.eval(f'Pkg.activate("{_escape_filename(julia_project)}", io={io})')
try:
Pkg.update()
except RuntimeError as e:
Expand Down

0 comments on commit 9d7e45e

Please sign in to comment.