Skip to content

Commit

Permalink
style: format code with Black
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 4dd7328 according to the output
from Black.

Details: #537
  • Loading branch information
deepsource-autofix[bot] committed Jan 29, 2024
1 parent 4dd7328 commit 1aa68ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pysr/sklearn_monkeypatch.py
Expand Up @@ -3,7 +3,8 @@
from sklearn.utils import validation


def _ensure_no_complex_data(*args, **kwargs): ...
def _ensure_no_complex_data(*args, **kwargs):
...


try:
Expand Down
6 changes: 3 additions & 3 deletions pysr/test/test_env.py
Expand Up @@ -22,9 +22,9 @@ def test_custom_shared_env(self):
os.environ["JULIA_DEPOT_PATH"] = tmpdir
else:
old_env = os.environ["JULIA_DEPOT_PATH"]
os.environ["JULIA_DEPOT_PATH"] = (
f"{tmpdir}:{os.environ['JULIA_DEPOT_PATH']}"
)
os.environ[
"JULIA_DEPOT_PATH"
] = f"{tmpdir}:{os.environ['JULIA_DEPOT_PATH']}"
Main.eval(
f'pushfirst!(DEPOT_PATH, "{julia_helpers._escape_filename(tmpdir)}")'
)
Expand Down

0 comments on commit 1aa68ed

Please sign in to comment.