Sergei Iakhnitskii
Sergei Iakhnitskii
> Have you tried [`section-order`](https://docs.astral.sh/ruff/settings/#lint_isort_section-order) with [`sections`](https://docs.astral.sh/ruff/settings/#lint_isort_sections)? Hi! Yes, I use it. The problem is that `package` is already mentioned in `first-party`. But I need `package.pytest_init` to be in a...
> These settings are only applied to the first segment of the import -- we don't classify beyond the top-level of the import anyway. So I don't think globs would...
Right now I use pathlib and tomlkit to emulate this feature by generating pyproject.toml programmatically. And pyproject.toml is several thousand lines long.
For now I use CSS-style for all markers with !important.
> One option is that you should be able to do `my-project @ file://${PROJECT_ROOT}`. Do you mind trying that? Hello! ''my-sub-project @ file://${PROJECT_ROOT}/../relative/path#egg=sub_package'' worked, but only halfway: `error: Distribution not...
Then we should remove it or add some crutch. What is the point of having tens of dead providers?
@n0nvme you are right, but this package uses the fixed version of datamodel ```toml datamodel-code-generator = {extras = ["http"], version = "0.16.1"} ```
V2 was introduced in [v0.21.0](https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.21.0)
Probably related to https://github.com/astral-sh/ruff/issues/10927 in some way
As a workaround I added everything from "src/*" to `known-first-party`. https://github.com/astral-sh/ruff/issues/10926 would have helped here.