ruff/crates/ruff_python_formatter/resources/test/fixtures
Charlie Marsh 60ba7a7c0d
Allow # fmt: skip with interspersed same-line comments (#9395)
## Summary

This is similar to https://github.com/astral-sh/ruff/pull/8876, but more
limited in scope:

1. It only applies to `# fmt: skip` (like Black). Like `# isort: on`, `#
fmt: on` needs to be on its own line (still).
2. It only delimits on `#`, so you can do `# fmt: skip # noqa`, but not
`# fmt: skip - some other content` or `# fmt: skip; noqa`.

If we want to support the `;`-delimited version, we should revisit
later, since we don't support that in the linter (so `# fmt: skip; noqa`
wouldn't register a `noqa`).

Closes https://github.com/astral-sh/ruff/issues/8892.
2024-01-04 19:39:37 -05:00
..
black Fix typos found by codespell (#9346) 2024-01-02 02:08:15 +00:00
ruff Allow # fmt: skip with interspersed same-line comments (#9395) 2024-01-04 19:39:37 -05:00
import_black_tests.py Fix typos found by codespell (#9346) 2024-01-02 02:08:15 +00:00