Skip to content

Commit

Permalink
maint: Bump patch version to 0.3.3.
Browse files Browse the repository at this point in the history
Black
  • Loading branch information
xidus committed Jun 4, 2024
1 parent a330899 commit 7eb5364
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = ab
version = 0.3.2
version = 0.3.3
description = AutoBernese
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
Expand Down
9 changes: 5 additions & 4 deletions src/ab/bsw/campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def get_template_dir() -> Path:
raise RuntimeError("Configuration must have a `runtime` section ...")
templates = runtime.get("campaign_templates")
if not templates:
raise ValueError("Configuration section m`runtime` has no value `campaign_templates` ...")
raise ValueError(
"Configuration section m`runtime` has no value `campaign_templates` ..."
)
return Path(templates)


Expand Down Expand Up @@ -372,7 +374,6 @@ def load(name: str) -> dict[str, Any]:
return configuration.with_env(ifname)



def _campaign_subdirectories(name: str) -> dict[str, str]:
"""
Get actual subdirectories directly beneath campaign directory.
Expand All @@ -390,7 +391,7 @@ def _delete_directory_content(path: str) -> None:
for child in Path(path).iterdir():
print(f"Deleting {child!r}")
if child.is_file() or child.is_symlink():
child.unlink()
child.unlink()
if child.is_dir():
shutil.rmtree(child)

Expand All @@ -411,7 +412,7 @@ def clean(name: str) -> None:
# Take those selected
existing_chosen = [path for (name, path) in dirs.items() if name in paths]

print('\n'.join(existing_chosen))
print("\n".join(existing_chosen))
proceed = input("Proceed (y/[n]): ").lower() == "y"
if not proceed:
return
Expand Down
2 changes: 1 addition & 1 deletion tests/ab/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


def test_version():
assert __version__ == "0.3.2"
assert __version__ == "0.3.3"


def test_package_data_exist():
Expand Down

0 comments on commit 7eb5364

Please sign in to comment.