commit | 39d85f512409b267140e463f486791e965d0b4f5 | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Tue Sep 21 10:08:31 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 21 18:38:49 2021 +0000 |
tree | 731d3231b12d42126565be37fe98bdd0a9a1d759 | |
parent | 604695e1bd75467fc5c208691098650233c5cd0b [diff] |
pw_presubmit: Add check for Python versions Add check for mismatched versions of Python packages. Also created cpp_checks.py and moved pragma_once there, along with moving bazel_lint to build.py. Now no checks are defined in presubmit.py (except for short-term compatibility for downstream projects referencing these checks). Adding the Python package version check to the lintformat presubmit program but not to any programs regularly run on workstations, since people may have additional packages installed locally which would cause presubmit to fail. LUCI always bootstraps from a clean environment so it should reliably pass there. Change-Id: I8d264064ed56d2fea2a2effbb65c39b33644f4f0 Bug: 459 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60445 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
See our website: http://pigweed.dev