potiuk commented on issue #56990:
URL: https://github.com/apache/airflow/issues/56990#issuecomment-3431168557

   Use Mypy instead. This is what we use, check and run in our CI.
   
   There is a Mypy VS Code extension as far as I know that uses MyPy Daemon.
   
   We have MyPy plugins that support those "Airflow" things - this is why it 
works nicer (despite all the MyPy shortcomings). And  last time we checked MyPy 
is the only one that support plugins that allow us to implement some of the 
checks you mentioned. We spoke to both PyRefly (Facebook) and Ty (Astral) teams 
and while PyRefly team is kinda open to add plugins in the near fuiture, Ty 
will not have plugins for quite long time after it is out of beta. 
   
   But If you have other ways, it would be great to contribute it. We are also 
looking towards ty, pyrefly as replacements for mypy - but lack of plugin 
support that would allow us to make those things work made it so far not very 
appealing despite the speed. However maybe things changes - if you would like 
to invest in Pyrefly or Ty replacement, that would be a good contribution - 
both of them fully suport Language Server Specification so should nicely fit 
VSCode.
   
   I believe - unfortunately - pyright does not support plugins, otherwise we 
would also welcome someone who really wants to use pyright to contribute 
plugins to support those things. 


-- 
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