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

refactor: don't use the same variable name for different types #2523

Merged

Conversation

aucampia
Copy link
Member

Summary of changes

Mypy does not like it when the same variable name is used for different types.

Checklist

  • Checked that there aren't other open pull requests for
    the same change.
  • Checked that all tests and type checking passes.
  • Considered granting push permissions to the PR branch,
    so maintainers can fix minor issues and keep your PR up to date.

@aucampia aucampia force-pushed the aucampia/20230810T2243-dont-reuse-vars branch from 4ac6d82 to a505b67 Compare August 10, 2023 20:46
Mypy does not like it when the same variable name is used for different
types.
@aucampia aucampia force-pushed the aucampia/20230810T2243-dont-reuse-vars branch from a505b67 to 18c15c6 Compare August 10, 2023 20:47
@aucampia
Copy link
Member Author

I'm fixing this because dmypy gets super confused here with #2520.

@aucampia aucampia merged commit d163c2e into RDFLib:main Aug 10, 2023
20 checks passed
@aucampia aucampia deleted the aucampia/20230810T2243-dont-reuse-vars branch August 16, 2023 19:04
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