Enforce CSV names style for `pytest.mark.parametrize` by akx · Pull Request #8295 · python-pillow/Pillow
Navigation Menu
{{ message }}
python-pillow / Pillow Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
hugovk merged 2 commits intopython-pillow:mainfrom
Aug 8, 2024Merged
Enforce CSV names style for pytest.mark.parametrize#8295
hugovk merged 2 commits intopython-pillow:mainfrom
Enforce CSV names style for pytest.mark.parametrize#8295
hugovk merged 2 commits intopython-pillow:mainfrom
Conversation
Copy link Copy Markdown
Contributor
As mentioned by @radarhere in
akx#7, Pillow's pytest.mark.parametrize house style is csv – this configures Ruff to enforce that and fixes the stray tuples.
- Ruff rule reference: https://docs.astral.sh/ruff/rules/pytest-parametrize-names-wrong-type/
akx
mentioned this pull request
akx
changed the title
Enforce CSV parametrize names style
Enforce CSV names style for pytest.mark.parametrize
hugovk reviewed Aug 7, 2024
Tests/test_file_dds.py
Outdated
Show resolved
Hide resolved
Tests/test_file_dds.py Outdated Show resolved Hide resolved
akx
force-pushed
the
ruff-enforce-parametrize-style
branch
from
e8a3af7 to
8ca53b3
Compare
akx
requested a review
from hugovk
radarhere approved these changes Aug 7, 2024
radarhere reviewed Aug 7, 2024
pyproject.toml
Show resolved
Hide resolved
pyproject.toml Show resolved Hide resolved
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
hugovk
merged commit
082e323
into
python-pillow:main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment