Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 5, 2024
1 parent fdde9db commit 77a8d5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pysr/julia_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@

from .julia_registry_helper import with_juliaregistrypref


def import_juliacall():
import juliacall

return None


# Check if JuliaCall is already loaded, and if so, warn the user
# about the relevant environment variables. If not loaded,
# set up sensible defaults.
Expand Down Expand Up @@ -57,7 +60,6 @@ def import_juliacall():
from juliacall import VectorValue # type: ignore
from juliacall import Main as jl # type: ignore


jl = cast(ModuleType, jl)


Expand Down

0 comments on commit 77a8d5f

Please sign in to comment.