login page
This commit is contained in:
20
Lib/site-packages/pipenv/patched/safety/constants.py
Normal file
20
Lib/site-packages/pipenv/patched/safety/constants.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
|
||||
OPEN_MIRRORS = [
|
||||
"https://raw.githubusercontent.com/pyupio/safety-db/master/data/",
|
||||
]
|
||||
|
||||
API_MIRRORS = [
|
||||
"https://pyup.io/api/v1/safety/"
|
||||
]
|
||||
|
||||
REQUEST_TIMEOUT = 5
|
||||
|
||||
CACHE_VALID_SECONDS = 60 * 60 * 2 # 2 hours
|
||||
|
||||
CACHE_FILE = os.path.join(
|
||||
os.path.expanduser("~"),
|
||||
".safety",
|
||||
"cache.json"
|
||||
)
|
||||
Reference in New Issue
Block a user