ruff/docs
Dylan 965a4dd731
[isort] Check full module path against project root(s) when categorizing first-party (#16565)
When attempting to determine whether `import foo.bar.baz` is a known
first-party import relative to [user-provided source
paths](https://docs.astral.sh/ruff/settings/#src), when `preview` is
enabled we now check that `SRC/foo/bar/baz` is a directory or
`SRC/foo/bar/baz.py` or `SRC/foo/bar/baz.pyi` exist.

Previously, we just checked the analogous thing for `SRC/foo`, but this
can be misleading in situations with disjoint namespace packages that
share a common base name (e.g. we may be working inside the namespace
package `foo.buzz` and importing `foo.bar` from elsewhere).

Supersedes #12987 
Closes #12984
2025-05-05 11:40:01 -05:00
..
.overrides Use | for page separator in meta titles (#13221) 2024-09-03 00:46:15 +00:00
assets Point docs to Astral favicon (#13219) 2024-09-02 20:11:39 -04:00
editors Update migration guide with the new ruff.configuration (#16567) 2025-03-10 11:50:06 +00:00
formatter Update black deviations (#15928) 2025-02-04 14:04:24 +00:00
js Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
stylesheets Use anchorlinks rather than permalinks (#13471) 2024-09-23 02:44:45 +00:00
.gitignore Add docs for Ruff language server (#12344) 2024-07-18 17:41:43 +05:30
configuration.md Add Python 3.14 to configuration options (#17647) 2025-04-28 16:29:00 -05:00
faq.md [isort] Check full module path against project root(s) when categorizing first-party (#16565) 2025-05-05 11:40:01 -05:00
formatter.md [docs] fix formatting of "See Style Guide" link (#17272) 2025-04-07 12:43:26 +00:00
installation.md Use uv consistently throughout the documentation (#15302) 2025-01-07 14:43:25 +00:00
integrations.md Bump 0.11.8 (#17766) 2025-05-01 10:19:58 -04:00
linter.md Add new noqa specification to the docs (#16703) 2025-03-13 12:48:53 -04:00
preview.md Fix minor punctuation errors (#16228) 2025-02-18 12:24:57 +00:00
requirements-insiders.txt Update dependency ruff to v0.11.8 (#17839) 2025-05-05 07:29:36 +02:00
requirements.txt Update dependency ruff to v0.11.8 (#17839) 2025-05-05 07:29:36 +02:00
tutorial.md Bump 0.11.8 (#17766) 2025-05-01 10:19:58 -04:00
versioning.md document MSRV policy (#16384) 2025-02-26 07:09:23 -08:00