Micha Reiser

Results 1092 comments of Micha Reiser

I went ahead and disabled the `pyproject_toml` linting for wasm to unblock this PR. That's why I request review from someone else.

Let's make this a breaking change.

@konstin added wasm upstream. We can roll-back my rule exclusion once the new version is out. See https://github.com/PyO3/pyproject-toml-rs/commit/2ed4df20c605e8f3388d71873ff54e140837a659

The upcoming 0.6 release deprecates PT004 and PT005 and changes the defaults for PT001 and PT023.

I tried to reproduce the error but failed. Can you share your isort configuration? What I tried: source file: ```python from pydantic import BaseModel, ConfigDict, TypeAdapter as _TypeAdapter, ValidationError #...

Thanks. Yes, I can reproduce with ```toml [lint] preview = true select = ["ALL", "RUF100"] ignore = ["T201", "D100", "CPY001"] [lint.flake8-tidy-imports] banned-api = { "pydantic.BaseModel" = { "msg" = "use...

> come to think of it, why is the presence of this pragma (noqa) causing a reformat? the line length is still 88 `from pydantic import BaseModel, ConfigDict, TypeAdapter as...

Hi and thanks for the great write up. Yes, that's a feature we want. We haven't had the time to work on it. It does require some upfront CLI design...

Related to https://github.com/astral-sh/ty/issues/1501

Same as for https://github.com/astral-sh/ty/issues/1501#issuecomment-3567994631. The main outstanding decision here is whether we want a `ty fix` command or `ty check --fix`