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

Add a mypy workflow to check changed files only #22

Merged
merged 3 commits into from
May 7, 2024
Merged

Conversation

JerrySentry
Copy link
Contributor

@JerrySentry JerrySentry commented May 6, 2024

This will do a mypy type checking for all changed python files in the PR. The specific mypy configurations will be stored in the individual repos that invoke this action.

@JerrySentry JerrySentry marked this pull request as ready for review May 6, 2024 21:13
@JerrySentry JerrySentry changed the title add a mypy workflow to check changed files only Add a mypy workflow to check changed files only May 6, 2024
static-type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use @v4 here

- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: '3.10'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using 3.10 here as both API and worker are moving/have moved to 3.12

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right we're on 3.12 now

@@ -0,0 +1,25 @@

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: extra space

@JerrySentry JerrySentry merged commit cfb98a8 into main May 7, 2024
1 check passed
@JerrySentry JerrySentry deleted the may_06_mypy branch May 7, 2024 19:01
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.

3 participants