Micha Reiser

Results 770 comments of Micha Reiser

Related black issue https://github.com/psf/black/issues/4099 There's the option to format this as: ```python self._edits.append( {"operation": "update", "id": index, "fields": list(fields), "region_fields": []} ) ``` or ```python self._edits.append({ "operation": "update", "id": index,...

I remove this from the stable formatter milestone because we decided not to ship the hugging preview style

Hy @funkybob The main request in this issue is to have an option to disable the style where ruff tries to format all arguments on a single line before splitting...

As of today: * `show-source` * `tab-size` * Top level lint settings * `extend-ignore` * `extend-unfixable` * `ignore-init-module-imports`

> `ignore-init-module-imports` This option has only been deprecated with Ruff 0.4.4 (https://github.com/astral-sh/ruff/pull/11436) and the new behavior is still gated behind preview (we may want to promote it to stable?). I...

There's also the `output-format` `text` that is deprecated and that we probably should remove

I'll close this and will create specific deprecation tasks to ease tracking of what needs to be deprecated/errored/removed when.

> To confirm my understanding: if a project today doesn't set `lines-after-imports`, we _do_ use 1 as a default in `.pyi` files, right? Is this a very friendly hint that...

> To confirm my understanding: if a project today doesn't set `lines-after-imports`, we _do_ use 1 as a default in `.pyi` files, right? I think I know understand why you...

That's a lot of ram... > I think this is related to https://github.com/astral-sh/ruff/issues/8147 as it was triggered by PyCharm's File Watcher functionality and that seems to be when that happens....