ruff/crates/ruff_linter/resources/test/fixtures/pygrep_hooks
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
..
PGH003_0.py
PGH003_1.py
PGH004_0.py
PGH004_1.py
PGH004_2.py [pygrep_hooks] Check blanket ignores via file-level pragmas (PGH004) (#11540) 2024-06-04 03:42:58 +00:00
PGH004_3.py Respect per-file ignores for blanket and redirected noqa rules (#11728) 2024-06-04 03:57:59 +00:00
PGH005_0.py [pygrep_hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#18547) 2025-06-24 17:27:21 -04:00