Skip to content

Commit

Permalink
Apply black formatter
Browse files Browse the repository at this point in the history
Just rebased `dev` into `GH-365/emcee-submit` which now contains black
formatting for python.
  • Loading branch information
TimothyWillard committed Nov 4, 2024
1 parent 412b7a0 commit 1eea614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions flepimop/gempyor_pkg/src/gempyor/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ class Module(BaseModel):
name: str
version: str | None = None


class PathExport(BaseModel):
path: Path
prepend: bool = True
error_if_missing: bool = False


class Cluster(BaseModel):
name: str
modules: list[Module] = []
Expand Down
4 changes: 1 addition & 3 deletions flepimop/gempyor_pkg/tests/utils/test__git_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ def shutil_which_wraps(
check: bool = True,
) -> str | None:
return (
"git"
if cmd == "git"
else _shutil_which(cmd, mode=mode, path=path, check=check)
"git" if cmd == "git" else _shutil_which(cmd, mode=mode, path=path, check=check)
)

def subprocess_run_wraps(args, **kwargs):
Expand Down

0 comments on commit 1eea614

Please sign in to comment.