Spaces:
Sleeping
Sleeping
deepsource-autofix[bot]
commited on
Commit
•
07e1474
1
Parent(s):
53698db
Format code with black
Browse filesThis commit fixes the style issues introduced in 53698db according to the output
from black.
Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/ab759c52-b88e-4101-80ca-f87efb420f6c/
- pysr/julia_helpers.py +1 -1
pysr/julia_helpers.py
CHANGED
@@ -84,7 +84,7 @@ def is_julia_version_greater_eq(Main, version="1.6"):
|
|
84 |
return Main.eval(f'VERSION >= v"{version}"')
|
85 |
|
86 |
|
87 |
-
def check_for_conflicting_libraries():
|
88 |
"""Check whether there are conflicting modules, and display warnings."""
|
89 |
# See https://github.com/pytorch/pytorch/issues/78829: importing
|
90 |
# pytorch before running `pysr.fit` causes a segfault.
|
|
|
84 |
return Main.eval(f'VERSION >= v"{version}"')
|
85 |
|
86 |
|
87 |
+
def check_for_conflicting_libraries(): # pragma: no cover
|
88 |
"""Check whether there are conflicting modules, and display warnings."""
|
89 |
# See https://github.com/pytorch/pytorch/issues/78829: importing
|
90 |
# pytorch before running `pysr.fit` causes a segfault.
|