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

ci[cartesian]: mypy warns about unused ignores #1823

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

romanc
Copy link
Contributor

@romanc romanc commented Jan 24, 2025

Description

mypy was configured not to report unused ignores in gt4py.cartesian. I could remove all unused ignores without any problem and thus removed this extra configuration. From now on, unused ignores will be reported.

This is work towards GEOS-ESM/SMT-Nebulae#89.

Requirements

  • All fixes and/or new features come with corresponding tests.
    mypy is happy with the change.
  • Important design decisions have been documented in the appropriate ADR inside the docs/development/ADRs/ folder.
    N/A

`mypy` was configured not to report unused ignores in `gt4py.cartesian`.
I could remove all unused ignores without any problem and thus removed
this extra configuration. From now on, unused ignores will be reported.
@romanc romanc marked this pull request as ready for review January 24, 2025 13:07
Copy link
Contributor

@FlorianDeconinck FlorianDeconinck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - no impact on next?

@romanc
Copy link
Contributor Author

romanc commented Jan 24, 2025

LGTM - no impact on next?

No, the configuration was specifically for the gt4py.cartesian folder. next already warns about unused ignores.

@romanc romanc merged commit 5588c85 into GridTools:main Jan 27, 2025
31 checks passed
@romanc romanc deleted the romanc/warn-unused-ignores branch January 27, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants