Skip to content

Commit

Permalink
tag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-zehentleitner committed May 14, 2024
1 parent 5e1893f commit bd83d59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unicorn_fy/unicorn_fy.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

from typing import Optional
import cython
import logging
import platform
Expand Down Expand Up @@ -1265,7 +1266,7 @@ def get_latest_release_info():
except Exception:
return False

def get_latest_version(self):
def get_latest_version(self) -> Optional[str]:
"""
Get the version of the latest available release (cache time 1 hour)
Expand Down

0 comments on commit bd83d59

Please sign in to comment.