Skip to content

Commit

Permalink
Merged PR 2554: Try to fix mypy issue (bye removing unused? method).
Browse files Browse the repository at this point in the history
Try to fix mypy issue (bye removing unused? method).
  • Loading branch information
josteinl committed Mar 8, 2022
2 parents ee1fd8b + ac262b8 commit 0bc57eb
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/data/coords.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
from typing import Dict


def getNTM(ntm_zone: int) -> int:
for objs in Coords:
coord_set = Coords[objs]
if coord_set["NTMZONE"] == ntm_zone:
return coord_set
from typing import Dict, List, Union


ProjSets = {
Expand Down Expand Up @@ -63,7 +56,7 @@ def getNTM(ntm_zone: int) -> int:
}


Coords: Dict[str, Dict] = {
Coords: Dict[str, Dict[str, Union[int, List]]] = {
"5": {
"NTMZONE": 5,
"UTM": 32,
Expand Down

0 comments on commit 0bc57eb

Please sign in to comment.