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] authored and neutrinoceros committed Oct 10, 2022
1 parent be6b76b commit 755f66b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions unyt/_array_functions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import numpy as np

from unyt.exceptions import UnitConversionError

_HANDLED_FUNCTIONS = {}
Expand Down
4 changes: 2 additions & 2 deletions unyt/tests/test_array_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
import pytest

from unyt import cm, s, g, km
from unyt import cm, g, km, s
from unyt.array import unyt_array


Expand Down Expand Up @@ -63,7 +63,7 @@ def test_invalid_dot_matrices():
b = np.arange(9) * s
b.shape = (3, 3)

out = np.empty((3, 3), dtype=np.int_, order="C") * s ** 2
out = np.empty((3, 3), dtype=np.int_, order="C") * s**2
with pytest.raises(
TypeError,
match=re.escape(
Expand Down

0 comments on commit 755f66b

Please sign in to comment.