Update references to python_checks.py
Requires: 60920
Change-Id: Ie3fd530eec10d92897b2dccf533876eef8194aa8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/60963
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
diff --git a/tools/pigweed_experimental_tools/presubmit_checks.py b/tools/pigweed_experimental_tools/presubmit_checks.py
index 1458ff4..39704c7 100755
--- a/tools/pigweed_experimental_tools/presubmit_checks.py
+++ b/tools/pigweed_experimental_tools/presubmit_checks.py
@@ -116,7 +116,7 @@
LINTFORMAT = (
# Use the upstream formatting checks, with custom path filters applied.
format_code.presubmit_checks(exclude=PATH_EXCLUSIONS),
- python_checks.lint_checks(exclude=PATH_EXCLUSIONS),
+ python_checks.gn_python_lint.with_filter(exclude=PATH_EXCLUSIONS),
pragma_once,
)
@@ -124,7 +124,7 @@
pragma_once,
QUICK, # Add all checks from the 'quick' program
# Use the upstream Python checks, with custom path filters applied.
- python_checks.all_checks(exclude=PATH_EXCLUSIONS),
+ python_checks.gn_python_check.with_filter(exclude=PATH_EXCLUSIONS),
)
PROGRAMS = pw_presubmit.Programs(