Skip to content

Commit fe5c56a

Browse files
committed
chore(scanner): update soft-fail help text and test docstring
1 parent 4f67a1a commit fe5c56a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/version_scanner/tests/unit/test_version_scanner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def test_main_loads_ignore_from_script_dir(mock_scan, mock_load_ignore):
349349
@mock.patch('googleapiclient.discovery.build')
350350
@mock.patch('google.auth.default')
351351
def test_upload_to_drive(mock_auth, mock_build):
352+
"""Test the ability to upload results to drive for visibility in gSheets."""
352353
from unittest import mock
353354

354355
mock_creds = mock.Mock()

scripts/version_scanner/version_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def main():
617617
parser.add_argument(
618618
"--soft-fail",
619619
action="store_true",
620-
help="Exit with code 0 even if matches are found (useful for advisory runs in CI/CD)"
620+
help="Exit with code 0 even if matches are found (useful during development and testing runs)"
621621
)
622622

623623
args = parser.parse_args()

0 commit comments

Comments
 (0)