ruff
b8f12844 - Make noqa parsing consistent and more robust (#16483)

Commit
350 days ago
Make noqa parsing consistent and more robust (#16483) # Summary The goal of this PR is to address various issues around parsing suppression comments by 1. Unifying the logic used to parse in-line (`# noqa`) and file-level (`# ruff: noqa`) noqa comments 2. Recovering from certain errors and surfacing warnings in these cases Closes #15682 Supersedes #12811 Addresses https://github.com/astral-sh/ruff/pull/14229#discussion_r1835481018 Related: #14229 , #12809
Author
Parents
Loading