Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Keyword Check #31823

Merged
merged 11 commits into from
Sep 7, 2023
Prev Previous commit
Next Next commit
update to consume sdk_verify_keywords
  • Loading branch information
scbedd committed Sep 6, 2023
commit 4aa04fa0b008a998e0b1a74978482a128733ffe8
2 changes: 1 addition & 1 deletion eng/tox/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ setenv =
deps =
{[base]deps}
commands =
sdk_verify_classifiers -t {tox_root}
sdk_verify_keywords -t {tox_root}


[testenv:breaking]
Expand Down
4 changes: 2 additions & 2 deletions tools/azure-sdk-tools/ci_tools/keywords_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def entrypoint() -> None:
pkg_details = ParsedSetup.from_path(args.target)

if in_ci():
if not is_check_enabled(args.target_package, "pylint"):
if not is_check_enabled(args.target_package, "verify_keywords"):
logging.info(
f"Package {pkg_details.name} opts-out of pylint check."
f"Package {pkg_details.name} opts-out of keyword verification check."
)
exit(0)

Expand Down