diff --git a/safety/cli.py b/safety/cli.py index 47e48e2..1c5536b 100644 --- a/safety/cli.py +++ b/safety/cli.py @@ -32,7 +32,7 @@ CLI_CONFIGURE_SAVE_TO_SYSTEM, CLI_CONFIGURE_PROXY_HOST_HELP, CLI_CONFIGURE_PROXY_PORT_HELP, CLI_CONFIGURE_PROXY_PROTOCOL_HELP, \ CLI_GENERATE_PATH from .cli_util import SafetyCLICommand, SafetyCLILegacyGroup, SafetyCLILegacyCommand, SafetyCLISubGroup, SafetyCLIUtilityCommand, handle_cmd_exception -from safety.constants import CONFIG_FILE_USER, CONFIG_FILE_SYSTEM, EXIT_CODE_VULNERABILITIES_FOUND, EXIT_CODE_OK, EXIT_CODE_FAILURE +from safety.constants import BAR_LINE, CONFIG_FILE_USER, CONFIG_FILE_SYSTEM, EXIT_CODE_VULNERABILITIES_FOUND, EXIT_CODE_OK, EXIT_CODE_FAILURE from safety.errors import InvalidCredentialError, SafetyException, SafetyError from safety.formatter import SafetyFormatter from safety.models import SafetyCLI @@ -52,8 +52,6 @@ from typing_extensions import Annotated LOG = logging.getLogger(__name__) -BAR_LINE = "+===========================================================================================================================================================================================+" - def get_network_telemetry(): import psutil diff --git a/safety/constants.py b/safety/constants.py index 4e234d9..6c74604 100644 --- a/safety/constants.py +++ b/safety/constants.py @@ -182,4 +182,7 @@ def get_config_setting(name: str) -> Optional[str]: EXIT_CODE_MALFORMED_DB = 69 EXIT_CODE_INVALID_PROVIDED_REPORT = 70 EXIT_CODE_INVALID_REQUIREMENT = 71 -EXIT_CODE_EMAIL_NOT_VERIFIED = 72 \ No newline at end of file +EXIT_CODE_EMAIL_NOT_VERIFIED = 72 + +#For Depreciated Messages +BAR_LINE = "+===========================================================================================================================================================================================+"