ruff/crates/ruff_linter
Tom Kuson 347ab5b47a
[flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) (#15444)
## Summary

Implements upstream diagnostics `PT029`, `PT030`, `PT031` that function
as pytest.warns corollaries of `PT010`, `PT011`, `PT012` respectively.
Most of the implementation and documentation is designed to mirror those
existing diagnostics.

Closes #14239

## Test Plan

Tests for `PT029`, `PT030`, `PT031` largely copied from `PT010`,
`PT011`, `PT012` respectively.

`cargo nextest run`

---------

Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2025-01-13 01:46:59 +00:00
..
resources [flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) (#15444) 2025-01-13 01:46:59 +00:00
src [flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) (#15444) 2025-01-13 01:46:59 +00:00
Cargo.toml Ruff 0.9.1 (#15407) 2025-01-10 19:45:06 +01:00