Skip to content

Commit 02c3c02

Browse files
committed
Sort imports
1 parent 5974369 commit 02c3c02

File tree

8 files changed

+14
-6
lines changed

8 files changed

+14
-6
lines changed

lib/gis/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import os
22

3-
import grass.script as gs
43
import pytest
4+
5+
import grass.script as gs
56
from grass.tools import Tools
67

78

lib/gis/tests/lib_gis_env_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
import sys
77
from textwrap import dedent
88

9-
import grass.script as gs
109
import pytest
1110

11+
import grass.script as gs
12+
1213

1314
def run_in_subprocess(code, tmp_path, env):
1415
"""Code as a script in a separate process and return parsed JSON result

lib/gis/tests/lib_gis_parser_json_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Tests of --json CLI"""
22

33
import pytest
4+
45
from grass.exceptions import CalledModuleError
56

67

lib/raster/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import os
22

3-
import grass.script as gs
43
import pytest
4+
5+
import grass.script as gs
56
from grass.experimental import TemporaryMapsetSession
67
from grass.tools import Tools
78

lib/raster/tests/lib_raster_reclass_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from pathlib import Path
44

55
import pytest
6+
67
from grass.exceptions import CalledModuleError
78
from grass.experimental import MapsetSession
89
from grass.script import MaskManager

temporal/t.rast.extract/tests/test_t_rast_extract_pytest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
import shutil
1919
from pathlib import Path
2020

21-
import grass.script as gs
2221
import pytest
22+
23+
import grass.script as gs
2324
from grass.tools import Tools
2425

2526

temporal/t.rast.list/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
from datetime import datetime
55
from types import SimpleNamespace
66

7-
import grass.script as gs
87
import pytest
98

9+
import grass.script as gs
10+
1011

1112
@pytest.fixture(scope="module")
1213
def space_time_raster_dataset(tmp_path_factory):

temporal/t.rast.list/tests/t_rast_list_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
import io
66
import json
77

8-
import grass.script as gs
98
import pytest
109

10+
import grass.script as gs
11+
1112
yaml = pytest.importorskip("yaml", reason="PyYAML package not available")
1213

1314

0 commit comments

Comments
 (0)