Skip to content

Commit

Permalink
Pre-commit checks and function outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed May 9, 2024
1 parent b5942b6 commit 23dd67c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repository_manager/repository_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import sys
import getopt
from multiprocessing import Pool
from typing import List


class Git:
Expand All @@ -16,7 +17,7 @@ def __init__(self):
self.set_to_default_branch = False
self.threads = os.cpu_count()

def git_action(self, command, directory=None):
def git_action(self, command, directory=None) -> str:
if directory is None:
directory = self.repository_directory
pipe = subprocess.Popen(
Expand Down

0 comments on commit 23dd67c

Please sign in to comment.