pub fn find_violations(root: impl AsRef<Path>) -> Result<Vec<Violation>>Expand description
Scan the Python test files under root and return every lint violation,
sorted by (file, line) for deterministic output.
A Python test file is *_test.py, the legacy test_*.py, or
conftest.py (where fixtures live). Each is parsed and walked. A file that
cannot be read or parsed is an error.