From d3e3eb42974c970b494fbfc1427589fe06e1a258 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 01:21:33 +0000 Subject: [PATCH] Format code with black 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/ --- pysr/sr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pysr/sr.py b/pysr/sr.py index f13ea47ef..981d45f78 100644 --- a/pysr/sr.py +++ b/pysr/sr.py @@ -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})")