Skip to content
Snippets Groups Projects
Commit 6e640c2a authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

mypy tests fully supported now

parent 4ab4f41f
No related branches found
No related tags found
No related merge requests found
Pipeline #19319 failed
# -- Lib
import numpy as np
from typing import List
from ess import lib_tw
# -- Input
path_name_lat = "lattice.dat"
......@@ -107,8 +107,8 @@ exit()
# -- Steerers
# Indices of steerers (can be done with names??) and append max to THIN_STEERING
idx_st_x = []
idx_st_y = []
idx_st_x: List[int] = []
idx_st_y: List[int] = []
for i in range(len(lat.lst)):
# STEERER
if lat.lst[i].typ == "STEERER":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment