ruff/crates/ruff_linter
Robsdedude 919af9628d
[pygrep_hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#18547)
## Summary
This PR expands PGH005 to also check for AsyncMock methods in the same
vein. E.g., currently `assert mock.not_called` is linted. This PR adds
the corresponding async assertions `assert mock.not_awaited()`.

---------

Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
2025-06-24 17:27:21 -04:00
..
resources [pygrep_hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#18547) 2025-06-24 17:27:21 -04:00
src [pygrep_hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#18547) 2025-06-24 17:27:21 -04:00
Cargo.toml Bump 0.12.0 (#18724) 2025-06-17 11:05:59 -04:00