A Python codebase with hundreds of files and a CI pipeline that lints every push can grind to a halt when a linter stumbles over a false positive or a slow code path. Ruff, the fast Python linter written in Rust, just shipped 0.17.6 with fixes aimed directly at those pain points—especially around type-checking, false positives, and performance with notebooks.
The standout in this release is a new fix for the runtime-string-union type-checking rule (TC010) in the flake8-type-checking plugin. Type-checking errors that previously required manual cleanup can now be auto-corrected, smoothing the path for teams with strict typing policies.
Bug Fixes That Matter in Daily Use
- Parenthesized Duplicates: If you’ve ever seen parenthesized duplicate items trip up Ruff (
B033,RUF068), this release handles them correctly. - False Negatives and Positives: The
pyflakesintegration fixes a case where multiple assignments to the same name (F823) could slip through undetected. Meanwhile,pylintusers should see fewer false positives for collections modified in a loop (PLR1733, ).




