Skip to content

Commit 658748c

Browse files
AmitMYclaude
andcommitted
fix(lint): suppress UP046 warning for Generic type hint
Add noqa comment to BaseMetric class to suppress linting warning about Generic type hint syntax. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3194a29 commit 658748c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pose_evaluation/metrics/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def __repr__(self):
9797
return self.format()
9898

9999

100-
class BaseMetric(Generic[T], ABC):
100+
class BaseMetric(Generic[T], ABC): # noqa: UP046
101101
"""Base class for all metrics."""
102102

103103
_SIGNATURE_TYPE = Signature

0 commit comments

Comments
 (0)