Skip to content

Allow tuples as a valid type for meta.key #241

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
Jun 18, 2024

Conversation

TkTech
Copy link
Contributor

@TkTech TkTech commented Jun 3, 2024

Most modern linters (like ruff) will complain about meta.key being a list, as it's a mutable class variable. Allowing a tuple here appears to work fine and removes the need to override linter rules for meta.key.

Most modern linters (like `ruff`) will complain about `meta.key` being a list, as it's a mutable class variable. Allowing a tuple here appears to work fine and removes the need to override linter rules for `meta.key`.
@TkTech
Copy link
Contributor Author

TkTech commented Jun 3, 2024

Ci build failure appears to be an unrelated tooling issue

@Photonios Photonios merged commit 6cb8b4f into SectorLabs:master Jun 18, 2024
1 check failed
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.

2 participants