ci: update type packages

This commit is contained in:
Iain Learmonth 2022-11-02 14:22:01 +00:00
parent 0ab9fdebc5
commit f92e713e98
3 changed files with 4 additions and 3 deletions

View file

@ -22,14 +22,14 @@ models = {
}
def export(model: db.Model) -> None:
def export(model: db.Model) -> None: # type: ignore[name-defined]
out = csv.writer(sys.stdout)
out.writerow(model.csv_header())
for row in model.query.all():
out.writerow(row.csv_row())
def impot(model: db.Model) -> None:
def impot(model: db.Model) -> None: # type: ignore[name-defined]
first = True
header = model.csv_header()
try: