Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 12, 2024
1 parent f781218 commit c7941bd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/uhi/typing/plottable.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ class PlottableAxisGeneric(Protocol[T_co]):
# available on all histograms and not part of the Protocol.

@property
def traits(self) -> PlottableTraits:
...
def traits(self) -> PlottableTraits: ...

def __getitem__(self, index: int) -> T_co:
"""
Expand Down Expand Up @@ -105,12 +104,10 @@ def __iter__(self) -> Iterator[T_co]:
@runtime_checkable
class PlottableHistogram(Protocol):
@property
def axes(self) -> Sequence[PlottableAxis]:
...
def axes(self) -> Sequence[PlottableAxis]: ...

@property
def kind(self) -> Kind:
...
def kind(self) -> Kind: ...

# All methods can have a flow=False argument - not part of this Protocol.
# If this is included, it should return an array with flow bins added,
Expand Down

0 comments on commit c7941bd

Please sign in to comment.