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

lint action.py with mypy #58

Merged
merged 2 commits into from
Mar 23, 2023
Merged

lint action.py with mypy #58

merged 2 commits into from
Mar 23, 2023

Conversation

tnytown
Copy link
Contributor

@tnytown tnytown commented Mar 23, 2023

Summary

We now lint with mypy to catch issues like from #55. Also, resolves a bunch of typing issues that were hiding.

Resolves #56.

@tnytown tnytown requested a review from woodruffw March 23, 2023 19:44
@tnytown
Copy link
Contributor Author

tnytown commented Mar 23, 2023

Are the perms too loose on workflows/ci? I can trigger a workflow run from a PR and it seems to execute the test target from my Makefile.

@woodruffw
Copy link
Member

Are the perms too loose on workflows/ci? I can trigger a workflow run from a PR and it seems to execute the test target from my Makefile.

Nope, that's intended -- you have triage permissions on the repo, so workflows will run when you open a PR.

The reason the self-tests don't run is because we manually skip them for third-party PRs, but I wonder if they'd actually work for you (given your permissions). Maybe we can refine the check we use for skipping.

@woodruffw woodruffw merged commit b8ab929 into sigstore:main Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run mypy as part of make lint
2 participants