Skip to content

Commit

Permalink
clnvm: Mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikDeSmedt committed Apr 24, 2024
1 parent 616ce99 commit c9eab9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions libs/cln-version-manager/clnvm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
import clnvm
from clnvm.cln_version_manager import ClnVersionManager, VersionDescriptor

def configure_logging():
def configure_logging() -> None:
dirname, _ = os.path.split(__file__)
breakpoint()
logging.config.fileConfig(Path(dirname) / "logging.conf")

# Handle the optional import and provide a nice error message if it fails
Expand Down
2 changes: 1 addition & 1 deletion libs/cln-version-manager/clnvm/cln_version_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get(self, cln_version: VersionDescriptor, force: bool = False) -> NodeVersio
root_path=target_path,
)

def _download(self, cln_version: VersionDescriptor, target_path: Path, verify_tag=False) -> None:
def _download(self, cln_version: VersionDescriptor, target_path: Path, verify_tag:bool = False) -> None:
"""Downloads the provided cln_version"""
tag = cln_version.tag
logger.info("Downloading version %s to %s", tag, target_path)
Expand Down

0 comments on commit c9eab9e

Please sign in to comment.