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

Tweak collections.abc import to resolve mypy issue #163

Merged
merged 3 commits into from
Apr 2, 2021
Merged

Conversation

cwegrzyn
Copy link
Contributor

@cwegrzyn cwegrzyn commented Apr 2, 2021

Recently, type checking started breaking in builds with this error:

records_mover/utils/json_schema.py:26: error: unused 'type: ignore' comment

My best guess is that it is a difference between python 3.9.1 and python 3.9.2. In any case, it turns out that simply changing the import from collections to collections.abc resolved the issue that made the type: ignore comment relevant in the first place.

@cwegrzyn cwegrzyn self-assigned this Apr 2, 2021
@cwegrzyn cwegrzyn merged commit 1a907ea into master Apr 2, 2021
@cwegrzyn cwegrzyn deleted the fix_abc_mypy branch April 2, 2021 17:17
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.

1 participant