general: update mypy config, seems that logs of type: ignore aren't necessary anymore
This commit is contained in:
parent
a445d2cbfe
commit
c34656e8fb
52 changed files with 142 additions and 105 deletions
|
@ -21,7 +21,7 @@ def make_config(cls: Type[C], migration: Callable[[Attrs], Attrs]=lambda x: x) -
|
|||
if k in {f.name for f in fields(cls)} # type: ignore[arg-type] # see https://github.com/python/typing_extensions/issues/115
|
||||
}
|
||||
# todo maybe return type here?
|
||||
return cls(**params) # type: ignore[call-arg]
|
||||
return cls(**params)
|
||||
|
||||
|
||||
F = TypeVar('F')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue