potiuk edited a comment on issue #19891:
URL: https://github.com/apache/airflow/issues/19891#issuecomment-982926067


   > Ouch. I guess some/many of those are from upgrading Mypy and it adding new 
better checks, rather than us having broken things, right?
   
   I am not sure. Just from the number of those my guess is we simply missed a 
lot of errors via workarounding lack of namespace support (we had to convert 
files to packages and pass packages to mypy not files and I think it had bad 
side-effects).
   
   Also I am not sure yet if mypy will detect all errors in " consistent" way 
with the "parallel support from pre-commit" - it might be that when you pass 
all files in one run, it will detect more errors.  I will check it soon to see 
- but it is not needed to start fixing.
   
   We might want to switch to this non-parallel mode, though it will be even 
more pain for local development (but then we might finally switch to mypyd 
support).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to