Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing support #5924

Open
2 tasks
trexfeathers opened this issue Apr 25, 2024 · 0 comments
Open
2 tasks

Typing support #5924

trexfeathers opened this issue Apr 25, 2024 · 0 comments
Labels
Dragon 🐉 https://github.com/orgs/SciTools/projects/19?pane=info Experience: Low Type: Enhancement

Comments

@trexfeathers
Copy link
Contributor

✨ Feature Request

typing — Support for type hints — Python 3.12.3 documentation

  • Add MyPy to Iris' pre-commit hooks, initially non-strict and with as many exceptions as necessary
  • Create a plan for progressively removing the MyPy exceptions, culminating in Iris being fully typed

Motivation

See #4272 and #4383

We know from @hdyson and @ESMValGroup/esmvaltool-developmentteam that the absence of typing in Iris causes problems when developing packages on top of Iris. I wanted to raise this issue as an explicit recognition that this is something we want to do, and to encourage 👍 voting to gauge people's appetite for this 'feature'.

@trexfeathers trexfeathers added Type: Enhancement Experience: Low Dragon 🐉 https://github.com/orgs/SciTools/projects/19?pane=info labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dragon 🐉 https://github.com/orgs/SciTools/projects/19?pane=info Experience: Low Type: Enhancement
Projects
Status: No status
Status: No status
Development

No branches or pull requests

1 participant