Skip to content

Commit

Permalink
Add flwr_datasets as known_first_party
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng committed Nov 6, 2024
1 parent 9c60283 commit 6021a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/docker/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import torch
import torch.nn as nn
import torch.nn.functional as F
from flwr_datasets import FederatedDataset
from torch.utils.data import DataLoader, Subset
from torchvision.transforms import Compose, Normalize, ToTensor

from flwr.client import ClientApp, NumPyClient
from flwr.common import Context
from flwr_datasets import FederatedDataset

# #############################################################################
# 1. Regular PyTorch pipeline: nn.Module, train, test, and DataLoader
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ extend_exclude = [

[tool.isort]
profile = "black"
known_first_party = ["flwr", "flwr_tool"]
known_first_party = ["flwr", "flwr_tool", "flwr_datasets"]

[tool.black]
line-length = 88
Expand Down

0 comments on commit 6021a0f

Please sign in to comment.