Use less ambiguous env var name for pyup api key

This commit is contained in:
Ulrik Johansson
2018-09-19 07:40:05 +02:00
parent b29434a68e
commit ba61dd0622
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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:
+1 -1
View File
@@ -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")