mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Use less ambiguous env var name for pyup api key
This commit is contained in:
+1
-1
@@ -241,7 +241,7 @@ Example::
|
||||
client usage.
|
||||
|
||||
You can also use your own safety API key by setting the
|
||||
environment variable ``PIPENV_CHECK_KEY``.
|
||||
environment variable ``PIPENV_PYUP_API_KEY``.
|
||||
|
||||
|
||||
☤ Community Integrations
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
Added environment variable `PIPENV_CHECK_KEY` to add ability
|
||||
Added environment variable `PIPENV_PYUP_API_KEY` to add ability
|
||||
to override the bundled pyup.io API key.
|
||||
|
||||
+2
-2
@@ -55,7 +55,7 @@ from .environments import (
|
||||
PIPENV_DONT_USE_PYENV,
|
||||
SESSION_IS_INTERACTIVE,
|
||||
PIPENV_CACHE_DIR,
|
||||
PIPENV_CHECK_KEY,
|
||||
PIPENV_PYUP_API_KEY,
|
||||
)
|
||||
|
||||
# Packages that should be ignored later.
|
||||
@@ -2277,7 +2277,7 @@ def do_check(
|
||||
ignored = ""
|
||||
c = delegator.run(
|
||||
'"{0}" {1} check --json --key={2} {3}'.format(
|
||||
python, escape_grouped_arguments(path), PIPENV_CHECK_KEY, ignored
|
||||
python, escape_grouped_arguments(path), PIPENV_PYUP_API_KEY, ignored
|
||||
)
|
||||
)
|
||||
try:
|
||||
|
||||
@@ -194,7 +194,7 @@ Default is to prompt the user for an answer if the current command line session
|
||||
if interactive.
|
||||
"""
|
||||
|
||||
PIPENV_CHECK_KEY = os.environ.get("PIPENV_CHECK_KEY", "1ab8d58f-5122e025-83674263-bc1e79e0")
|
||||
PIPENV_PYUP_API_KEY = os.environ.get("PIPENV_PYUP_API_KEY", "1ab8d58f-5122e025-83674263-bc1e79e0")
|
||||
|
||||
# Internal, support running in a different Python from sys.executable.
|
||||
PIPENV_PYTHON = os.environ.get("PIPENV_PYTHON")
|
||||
|
||||
Reference in New Issue
Block a user