Skip to content

Fix mypy problem on Windows due to platform differences #706

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

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Apr 12, 2024

Description

As reported in #678 (comment), mypy was failing on Windows due to an unnecessary # type: ignore. This fixes it by ignoring the unused-ignore so that Windows is covered.

I'm marking this as maintenance since it's not a runtime bugfix.

Related Issue

Fixes an issue introduced and reported in #678.

Checklist

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

As reported in <pymc-devs#678 (comment)>,
mypy was failing on Windows due to an unnecessary type: ignore.
This fixes it by ignoring the unused-ignore so that Windows is covered.
@maresb
Copy link
Contributor Author

maresb commented Apr 12, 2024

@HarshvirSandhu and @Dhruvanshu-Joshi, I think this will fix the pre-commit issues you've been having.

@ricardoV94
Copy link
Member

That's so sneaky!

@ricardoV94 ricardoV94 merged commit 0a13fbd into pymc-devs:main Apr 12, 2024
@maresb maresb deleted the fix-mypy-on-windows branch April 12, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants