Skip to content

Commit 4b2ecdd

Browse files
EliEli
authored andcommitted
Removed unused imports.
1 parent 9c6a786 commit 4b2ecdd

9 files changed

Lines changed: 3 additions & 15 deletions

File tree

schimpy/sms2gr3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Some material borrowed @author: snegusse
55
"""
66
import numpy as np
7-
import string
87
import re
98
import math
109
import os

schimpy/split_quad.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
from schimpy import schism_mesh
77
from schimpy.schism_setup import ensure_outdir
8-
import copy
98
import numpy as np
109
import argparse
1110
import os

schimpy/stacked_dem_fill.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212

1313
import yaml
1414
import hashlib
15-
from xml.etree.ElementInclude import include
1615
from schimpy.schism_setup import ensure_outdir
17-
from typing import Callable, Dict, List, Optional, Tuple, Union
16+
from typing import List, Union
1817
from datetime import datetime
1918
import numpy as np
20-
import sys
2119
import os
2220
import diskcache as dc
2321
import json

schimpy/station.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
if sys.version_info[0] < 3:
1313
from pandas.compat import u
14-
from builtins import open, file, str
14+
from builtins import open, str
1515
else:
1616
u = lambda x: x
1717

schimpy/th_calcs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from schimpy.model_time import read_th
22
import pandas as pd
3-
import os
43

54

65
def calc_net_source_sink(

schimpy/trimesh.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
## Author: Kijin Nam, knam@water.ca.gov
1212
##
1313

14-
import schimpy.priority_queue as pq
1514
import rtree
1615
import numpy as np
1716
import types

schimpy/util/yaml_load.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from schimpy.schism_yaml import load, dump
2-
from pathlib import Path
1+
from schimpy.schism_yaml import load
32
import pandas as pd
43
import string
54
import yaml

schimpy/vgrid_opt2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Package for optimising vgrid smoothness, shape and completeness
44
"""
5-
from scipy.ndimage import gaussian_filter1d
65
from schimpy.lsc2 import *
76

87

@@ -193,7 +192,6 @@ def meshessp(
193192
grad_hess,
194193
laplace_hess,
195194
):
196-
import pdb
197195

198196
obj = 0.0
199197

tests/test_schimpy.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
import pytest
66

7-
from click.testing import CliRunner
8-
9-
107

118
@pytest.fixture
129
def response():

0 commit comments

Comments
 (0)