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

mypy type errors #63

Open
jjjermiah opened this issue Mar 14, 2025 · 0 comments
Open

mypy type errors #63

jjjermiah opened this issue Mar 14, 2025 · 0 comments
Assignees

Comments

@jjjermiah
Copy link
Contributor

snakemake_interface_storage_plugins/storage_provider.py:76: error: Need type annotation for "_rate_limiters" (hint: "_rate_limiters: dict[<type>, <type>] = ...")  [var-annotated]
snakemake_interface_storage_plugins/storage_provider.py:89: error: Item "None" of "StorageProviderSettingsBase | None" has no attribute "max_requests_per_second"  [union-attr]
snakemake_interface_storage_plugins/storage_provider.py:156: error: Module "snakemake_interface_storage_plugins.storage_object" has no attribute "StorageObjectReadWrite"; maybe "StorageObjectWrite" or "StorageObjectRead"?  [attr-defined]
snakemake_interface_storage_plugins/storage_provider.py:160: error: "StorageProviderBase" has no attribute "storage_object_cls"; maybe "get_storage_object_cls"?  [attr-defined]
snakemake_interface_storage_plugins/storage_object.py:80: error: Incompatible types in assignment (expression has type "Path", variable has type "None")  [assignment]
snakemake_interface_storage_plugins/storage_object.py:84: error: Incompatible return value type (got "StorageQueryValidationResult", expected "bool")  [return-value]
Found 6 errors in 2 files (checked 9 source files)
@jjjermiah jjjermiah self-assigned this Mar 14, 2025
@jjjermiah jjjermiah linked a pull request Mar 14, 2025 that will close this issue
jjjermiah added a commit to jjjermiah/snakemake-interface-storage-plugins that referenced this issue Mar 14, 2025
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 a pull request may close this issue.

1 participant