Skip to content

Allow apitool to declare exemptions and enable linter during presubmit - #1274

Merged
Benjamin Elder (BenTheElder) merged 2 commits into
agent-substrate:mainfrom
juli4n:apitool_presubmit
Aug 27, 2026
Merged

Benjamin Elder (BenTheElder) merged 2 commits into
agent-substrate:mainfrom
juli4n:apitool_presubmit

Conversation

@juli4n

Copy link
Copy Markdown
Collaborator

Allow the apitool validate linter to define exemptions, then add exemptions for current validation errors, and then enable this as part of presubmit (GH action).

Add a file to declare finding exemptions so we can make presubmit
pass and allowlist an existing finding.

The `apitool validate` command now has an `update` flag to update the exemptions.json
file to match the current set of findings. Add a unit test to enforce that
as part of presubmit as well.
@juli4n Julian Gutierrez Oschmann (juli4n) changed the title Allow apitool to declare exemptions Allow apitool to declare exemptions and enable linter during presubmit Aug 27, 2026
@BenTheElder Benjamin Elder (BenTheElder) added the area/api User-facing API changes label Aug 27, 2026
@BenTheElder
Benjamin Elder (BenTheElder) merged commit f43d409 into agent-substrate:main Aug 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api User-facing API changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants