Skip to content

Conversation

@miketheman
Copy link
Member

Adds a check to verify that the tags value passed to metrics calls is a list of strings, not a dictionary.

Would be better via mypy, but the lack of underlying types for Pyramid makes this much harder, and would need to build out custom stubs.

Refs: #18926

Adds a check to verify that the `tags` value passed to metrics calls is
a list of strings, not a dictionary.

Would be better via `mypy`, but the lack of underlying types for Pyramid
makes this much harder, and would need to build out custom stubs.

Refs: pypi#18926

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman added the testing Test infrastructure and individual tests label Oct 23, 2025
@miketheman miketheman requested a review from a team as a code owner October 23, 2025 19:25
@miketheman miketheman enabled auto-merge (squash) October 23, 2025 19:26
@miketheman miketheman merged commit 977667c into pypi:main Oct 23, 2025
21 checks passed
@miketheman miketheman deleted the miketheman/tags-checker branch October 23, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Test infrastructure and individual tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants