Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak committed May 21, 2024
1 parent 50a719a commit ebdf695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datasets/flwr_datasets/federated_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import datasets
from datasets import Dataset, DatasetDict
from flwr_datasets.partitioner import Partitioner
from flwr_datasets.telemetry import EventType, event
from flwr_datasets.resplitter import Resplitter
from flwr_datasets.telemetry import EventType, event
from flwr_datasets.utils import (
_check_if_dataset_tested,
_instantiate_partitioners,
Expand Down
4 changes: 1 addition & 3 deletions datasets/flwr_datasets/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ class EventType(str, Enum):
# The type signature is not compatible with mypy, pylint and flake8
# so each of those needs to be disabled for this line.
# pylint: disable-next=no-self-argument,arguments-differ,line-too-long
def _generate_next_value_(
name: str, start: int, count: int, last_values: List[Any]
) -> Any: # type: ignore # noqa: E501
def _generate_next_value_(name: str, start: int, count: int, last_values: List[Any]) -> Any: # type: ignore # noqa: E501
return name

PING = auto()
Expand Down

0 comments on commit ebdf695

Please sign in to comment.