News for hackers. Stuff that matters.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule... by CuriouslyC on Sunday July 26, 2026 @09:21AM (#49057960)
\bfoo\b will produce noisy results. People have been pushing linting rules that force a single consistent choice of string delimiters since at least 2010 when Python went from a cute academic language to a real industry workhorse.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule... by maratc on Sunday July 26, 2026 @09:42AM (#49058166)
> \bfoo\b will produce noisy results.

Add a look-behind for '[' and a look-ahead for ']' and you'll be fine.