ColtenOuO opened a new pull request, #66147: URL: https://github.com/apache/airflow/pull/66147
## Summary Fix 3 `PT007` violations in `providers/apache/kafka/tests/unit/apache/kafka/operators/test_consume.py` by converting `pytest.mark.parametrize` value rows from `list` to `tuple`, following ruff's default `parametrize-values-row-type = "tuple"`. This is one step in the gradual cleanup toward removing `PT007` from the ignore list in [`pyproject.toml`](https://github.com/apache/airflow/blob/main/pyproject.toml), mirroring the same approach used for the recently completed `PT006` series. ## Why this change `PT007` flags cases where parameter rows in `@pytest.mark.parametrize(...)` use `list` instead of `tuple`. The rule treats this as a readability / consistency issue rather than a correctness one — pytest accepts both — so the change is purely stylistic but enforces a consistent convention across the codebase. Reference: [ruff PT007 — pytest-parametrize-values-wrong-type](https://docs.astral.sh/ruff/rules/pytest-parametrize-values-wrong-type/) (derived from [`flake8-pytest-style`](https://github.com/m-burst/flake8-pytest-style)). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
