detect_gcp_credentials hook

This commit is contained in:
Admin 2024-04-13 01:32:31 +02:00
parent b73acb198e
commit e0c61d89d0
929 changed files with 311695 additions and 0 deletions

View file

@ -0,0 +1,11 @@
"""For when pip wants to check the date or time.
"""
import datetime
def today_is_later_than(year: int, month: int, day: int) -> bool:
today = datetime.date.today()
given = datetime.date(year, month, day)
return today > given