Skip to content

Commit 627406e

Browse files
committed
Revert reportImplicitAbstractClass changes
1 parent 18e216e commit 627406e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ reportAny = "none"
165165
reportCallInDefaultInitializer = "none"
166166
reportExplicitAny = "none"
167167
reportIgnoreCommentWithoutRule = "none"
168+
reportImplicitAbstractClass = "none"
168169
reportImplicitOverride = "none"
169170
reportImplicitStringConcatenation = "none"
170171
reportImportCycles = "none"

temporalio/common.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ def with_additional_attributes(
729729
...
730730

731731

732-
class MetricCounter(MetricCommon, ABC):
732+
class MetricCounter(MetricCommon):
733733
"""Counter metric created by a metric meter."""
734734

735735
@abstractmethod
@@ -750,7 +750,7 @@ def add(
750750
...
751751

752752

753-
class MetricHistogram(MetricCommon, ABC):
753+
class MetricHistogram(MetricCommon):
754754
"""Histogram metric created by a metric meter."""
755755

756756
@abstractmethod
@@ -771,7 +771,7 @@ def record(
771771
...
772772

773773

774-
class MetricHistogramFloat(MetricCommon, ABC):
774+
class MetricHistogramFloat(MetricCommon):
775775
"""Histogram metric created by a metric meter."""
776776

777777
@abstractmethod
@@ -792,7 +792,7 @@ def record(
792792
...
793793

794794

795-
class MetricHistogramTimedelta(MetricCommon, ABC):
795+
class MetricHistogramTimedelta(MetricCommon):
796796
"""Histogram metric created by a metric meter."""
797797

798798
@abstractmethod
@@ -815,7 +815,7 @@ def record(
815815
...
816816

817817

818-
class MetricGauge(MetricCommon, ABC):
818+
class MetricGauge(MetricCommon):
819819
"""Gauge metric created by a metric meter."""
820820

821821
@abstractmethod
@@ -836,7 +836,7 @@ def set(
836836
...
837837

838838

839-
class MetricGaugeFloat(MetricCommon, ABC):
839+
class MetricGaugeFloat(MetricCommon):
840840
"""Gauge metric created by a metric meter."""
841841

842842
@abstractmethod

0 commit comments

Comments
 (0)