summaryrefslogtreecommitdiff
path: root/scripts/lint_project_xml.py
AgeCommit message (Collapse)Author
2024-09-26Remove top down strict updatability checks Colin Cross
The enforce_strict_updatability_linting and apex_strict_updatability_lint are some of the last top down mutators, and removing them will help with incremental analysis. Both mutators are used to propagate a flag to transitive java dependencies that causes them to add extra checks to their lint rules to require that baselines not include any skipped NewApi checks. Instead of modifying dependencies to check the baselines, propagate the baselines up to the modules that are requesting the checks, and perform the checks on all transitive baselines there. Bug: 367784740 Test: TestJavaLintStrictUpdatabilityLinting Test: TestApexStrictUpdtabilityLint Flag: EXEMPT refactor Change-Id: Ief2e3b26d745da61f13e621d635a5879d9c56779
2024-01-17Simplify strict updatability linting error message Cole Faust
Throwing a RuntimeError leads to a stack trace in the build failure error message, which is not useful and makes the error harder to understand. Bug: 320698986 Test: Presubmits Change-Id: I0b79185fff7b9c8d4085b23936b80b3d026a4384
2021-04-22Fix minor issues in updatability lint CLs. Jaewoong Jung
Test: TreeHugger Bug: 182349282 Change-Id: Ifae282d51b088d0562605b41a09696d75c5138f1
2021-04-20Rename lint-project-xml.py to remove dashes. Jaewoong Jung
So that a future test can import it without a dirty syntax. Test: m lint-check Bug: 182349282 Change-Id: I520a5af49543801ab2a8ee888ff235876546dc74