Skip to content

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

Merged
Photonios merged 1 commit into
SectorLabs:masterfrom
TkTech:patch-1
Jun 18, 2024
Merged

Photonios merged 1 commit into
SectorLabs:masterfrom
TkTech:patch-1

Conversation

@TkTech

@TkTech TkTech commented Jun 3, 2024

Copy link
Copy Markdown
Contributor

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

TkTech commented Jun 3, 2024

Copy link
Copy Markdown
Contributor Author

Ci build failure appears to be an unrelated tooling issue

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