You can add this snippet after your error, to ignore it. There is a piece of doc available here that explains it better than I do
# type: ignore