ruff
7b484436 - Respect `Q00*` ignores in `flake8-quotes` rules (#10728)

Commit
1 year ago
Respect `Q00*` ignores in `flake8-quotes` rules (#10728) ## Summary We lost the per-rule ignores when these were migrated to the AST, so if _any_ `Q` rule is enabled, they're now all enabled. Closes https://github.com/astral-sh/ruff/issues/10724. ## Test Plan Ran: ```shell ruff check . --isolated --select Q --ignore Q000 ruff check . --isolated --select Q --ignore Q001 ruff check . --isolated --select Q --ignore Q002 ruff check . --isolated --select Q --ignore Q000,Q001 ruff check . --isolated --select Q --ignore Q000,Q002 ruff check . --isolated --select Q --ignore Q001,Q002 ``` ...against: ```python ''' bad docsting ''' a = 'single' b = ''' bad multi line ''' ```
Author
Parents
Loading