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

Type hint kwargs to silence pylance warnings about partially unknown types #93

Closed
bckohan opened this issue Jun 7, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@bckohan
Copy link
Member

bckohan commented Jun 7, 2024

Pylance is complaining about partially unknown types command, initialize etc on import. This is because we have an untyped kwargs parameter that we leave in to allow additional options to be added to these wrapped calls upstream without completely breaking our interface.

Type kwargs to shut pylance up.

@bckohan bckohan added the enhancement New feature or request label Jun 7, 2024
@bckohan bckohan self-assigned this Jun 7, 2024
@bckohan bckohan closed this as completed in d00b8c1 Jun 7, 2024
bckohan added a commit that referenced this issue Jun 7, 2024
fix #93, remove pylint pragmas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant