File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2727 additional_dependencies :
2828 - types-PyYAML==6.0.1
2929 - types-requests==2.26.0
30+ - types-setuptools==57.4.2
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ isort==5.10.1
44mypy==0.910
55types-PyYAML==6.0.1
66types-requests==2.26.0
7+ types-setuptools==57.4.2
Original file line number Diff line number Diff line change 44from setuptools import find_packages , setup
55
66
7- def get_version ():
7+ def get_version () -> str :
8+ version = ""
89 with open ("gitlab/__version__.py" ) as f :
910 for line in f :
1011 if line .startswith ("__version__" ):
11- return eval (line .split ("=" )[- 1 ])
12+ version = eval (line .split ("=" )[- 1 ])
13+ break
14+ return version
1215
1316
1417with open ("README.rst" , "r" ) as readme_file :
You can’t perform that action at this time.
0 commit comments