Skip to content

Commit dafe70e

Browse files
PabloEmidiomeyer1994
authored andcommitted
Feat: Use annotations to type itself
Improve IDE recognize
1 parent 25c75ed commit dafe70e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gitserver/git.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import io
24
import stat
35
from typing import IO
@@ -13,7 +15,7 @@ def __init__(self, path: str):
1315
self.path = Path(path)
1416

1517
@staticmethod
16-
def init(path: str) -> 'Git':
18+
def init(path: str) -> Git:
1719
Runner('git')\
1820
.arg('init')\
1921
.arg('--bare')\

0 commit comments

Comments
 (0)