diff --git a/poetry.lock b/poetry.lock index a5be896..e74086e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "argparse" @@ -522,13 +522,13 @@ testutils = ["gitpython (>3)"] [[package]] name = "requests" -version = "2.32.0" +version = "2.32.2" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" files = [ - {file = "requests-2.32.0-py3-none-any.whl", hash = "sha256:f2c3881dddb70d056c5bd7600a4fae312b2a300e39be6a118d30b90bd27262b5"}, - {file = "requests-2.32.0.tar.gz", hash = "sha256:fa5490319474c82ef1d2c9bc459d3652e3ae4ef4c4ebdd18a21145a47ca4b6b8"}, + {file = "requests-2.32.2-py3-none-any.whl", hash = "sha256:fc06670dd0ed212426dfeb94fc1b983d917c4f9847c863f313c9dfaaffb7c23c"}, + {file = "requests-2.32.2.tar.gz", hash = "sha256:dd951ff5ecf3e3b3aa26b40703ba77495dab41da839ae72ef3c8e5d8e2433289"}, ] [package.dependencies] diff --git a/src/__version__.py b/src/__version__.py index 5c4105c..d75d8d9 100644 --- a/src/__version__.py +++ b/src/__version__.py @@ -1 +1,3 @@ +"""Version of the package.""" + __version__ = "1.0.1" diff --git a/src/git_utils.py b/src/git_utils.py index 7fa17f4..ef45989 100644 --- a/src/git_utils.py +++ b/src/git_utils.py @@ -75,7 +75,8 @@ def check_git_config(repo: Repo): if not os.path.exists(ssh_key_path): logger.warning("SSH key not found.") print( - "Please generate one using the following command and add it to your SSH agent and GitHub account:" + "Please generate one using the following command and add it to " + + "your SSH agent and GitHub account:" ) print(" ssh-keygen -t rsa -b 4096 -C 'your.email@example.com'") @@ -98,7 +99,6 @@ def commit_full_text_message(repo_path: str, message: str) -> str: sys.exit(1) -# get git core editor, if not set, use vim def get_git_editor() -> str: """ Get the configured git editor or use 'vim' as the default. diff --git a/src/user_interaction.py b/src/user_interaction.py index 8c72c1a..27bedca 100644 --- a/src/user_interaction.py +++ b/src/user_interaction.py @@ -2,7 +2,6 @@ General utility functions for user interaction. """ -import os import tempfile import subprocess from .git_utils import get_git_editor