Skip to content

mypy_test.py: Add command-line argument to enable selecting which parts of the test to run #8143

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

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Jun 23, 2022

This makes it easy to run mypy on, for example, only the test_cases directory. The following invocation would test the test cases on Python 3.6 and 3.9, on platforms linux and darwin:

python tests/mypy_test.py -d test_cases --python-version 3.6 3.9 --platform linux darwin

Refs #8139

@JelleZijlstra JelleZijlstra merged commit 64d91ef into master Jun 23, 2022
@JelleZijlstra JelleZijlstra deleted the dir branch June 23, 2022 17:21
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.

2 participants