ruff/crates/ruff
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/test/fixtures Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
src Upgrade Rust toolchain to 1.84.0 (#15408) 2025-01-11 09:51:58 +01:00
tests [flake8-pytest-style] Implement pytest.warns diagnostics (PT029, PT030, PT031) (#15444) 2025-01-13 01:46:59 +00:00
build.rs ruff: add worktree support to build.rs (#14896) 2024-12-10 14:06:59 -05:00
Cargo.toml Ruff 0.9.1 (#15407) 2025-01-10 19:45:06 +01:00