Skip to content

Commit df5990d

Browse files
committed
Set isort's formatting profile to black and line length to 88
Github actions were failing since isort and ruff had different rules enabled. Added pyproject.toml configuration to align the two.
1 parent 028981e commit df5990d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tool.isort]
2+
profile = "black"
3+
line_length = 88

utils/load_data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from torch.utils.data import Dataset
22

3-
from .dataloaders import (MNISTDataset0_3, USPSDataset0_6,
4-
USPSH5_Digit_7_9_Dataset)
3+
from .dataloaders import MNISTDataset0_3, USPSDataset0_6, USPSH5_Digit_7_9_Dataset
54

65

76
def load_data(dataset: str, *args, **kwargs) -> Dataset:

0 commit comments

Comments
 (0)