Skip to content

Commit

Permalink
🎨 Format Python code with psf/black
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebotu committed Mar 19, 2023
1 parent 857ca55 commit d595470
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/datamodules/components/black_sea/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def __init__(
f32=True,
download=True,
):

# manager = BlackSeaManager(data_path, files, download=download)
# if files is None: # provide a list of files to load
# files = manager.get_filepaths()
Expand Down
1 change: 0 additions & 1 deletion src/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

@hydra.main(version_base="1.2", config_path=root / "configs", config_name="eval.yaml")
def main(cfg: DictConfig) -> None:

from src.tasks.eval_task import evaluate

evaluate(cfg)
Expand Down
1 change: 0 additions & 1 deletion src/models/components/mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def __init__(
output_norm: str = "none",
bias: bool = True,
):

super().__init__()
assert input_norm in ["batch", "layer", "none"]
assert output_norm in ["batch", "layer", "none"]
Expand Down
1 change: 0 additions & 1 deletion src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

@hydra.main(version_base="1.2", config_path=root / "configs", config_name="train.yaml")
def main(cfg: DictConfig) -> float:

# We want to add fields to config so need to call OmegaConf.set_struct
OmegaConf.set_struct(cfg, False)

Expand Down
1 change: 0 additions & 1 deletion src/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def task_wrapper(task_func: Callable) -> Callable:
"""

def wrap(cfg: DictConfig):

# apply extra utilities
extras(cfg)

Expand Down

0 comments on commit d595470

Please sign in to comment.