Skip to content

Commit 6c0ffab

Browse files
committed
💄 Refactors get_config_path into staticmethod
1 parent da25174 commit 6c0ffab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git_repo/services/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class RepositoryService:
6666
'server-cert'
6767
]
6868

69-
@classmethod
70-
def get_config_path(cls):
69+
@staticmethod
70+
def get_config_path():
7171
home_dir = os.environ['HOME']
7272
home_conf = os.path.join(home_dir, '.gitconfig')
7373
xdg_conf = os.path.join(home_dir, '.git', 'config')

0 commit comments

Comments
 (0)