Skip to content

Commit

Permalink
new isort
Browse files Browse the repository at this point in the history
  • Loading branch information
nschloe committed Sep 28, 2020
1 parent 179f389 commit a9a4c0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ clean:
@rm -rf *.egg-info/ build/ dist/ MANIFEST

format:
isort -rc .
isort .
black .

black:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def has_flag(compiler, flagname):
"""Return a boolean indicating whether a flag name is supported on
the specified compiler.
"""
import tempfile
import os
import tempfile

with tempfile.NamedTemporaryFile("w", suffix=".cpp", delete=False) as f:
f.write("int main (int argc, char **argv) { return 0; }")
Expand Down
2 changes: 1 addition & 1 deletion test/test_dot.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import matplotlib.pyplot as plt
import numpy
import perfplot
import pytest

import accupy
import perfplot


@pytest.mark.parametrize("cond", [1.0, 1.0e15])
Expand Down
2 changes: 1 addition & 1 deletion test/test_sums.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import matplotlib.pyplot as plt
import numpy
import perfplot
import pytest

import accupy
import perfplot


@pytest.mark.parametrize("cond", [1.0, 1.0e15])
Expand Down

0 comments on commit a9a4c0c

Please sign in to comment.