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 5d9233a according to the output
from black.

Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/a244ac16-0f75-4846-b65e-d1049d226249/
  • Loading branch information
deepsource-autofix[bot] committed Feb 3, 2022
1 parent 5d9233a commit d3e3eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,7 @@ def _run(self, X, y, weights, variable_names):
f'Pkg.activate("{_escape_filename(self.julia_project)}", io={io})'
)
from julia.api import JuliaError

try:
if update:
Main.eval(f"Pkg.resolve(io={io})")
Expand Down

0 comments on commit d3e3eb4

Please sign in to comment.