Skip to content

Support using flag --skipslow instead of -m "not slow" for pytest#1421

Draft
mhucka wants to merge 4 commits into
quantumlib:mainfrom
mhucka:skipslow
Draft

Support using flag --skipslow instead of -m "not slow" for pytest#1421
mhucka wants to merge 4 commits into
quantumlib:mainfrom
mhucka:skipslow

Conversation

@mhucka

@mhucka mhucka commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

The flag -m "not slow" was not only annoying to type: it invited misspelling and waste of time.

This PR changes the flag to be --skipslow, following the same thing done in the ReCirq project.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new --skipslow flag for pytest to improve test execution control, updating the CONTRIBUTING.md documentation, pyproject.toml configuration, and conftest.py setup. The reviewer recommended using more specific type hints (pytest.Parser and pytest.Item) and the getoption API instead of getvalue for better type safety and correctness.

Comment thread conftest.py Outdated
mhucka and others added 2 commits July 16, 2026 13:00
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@mhucka
mhucka marked this pull request as draft July 16, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant