Brent Westbrook
Brent Westbrook
I think there are two different kinds of comments at play here. I think I agree with the comments in this test case: https://github.com/astral-sh/ruff/blob/adef89eb7cfb6eb7c3e0646dcd120e6f1adc7af2/crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM114.py#L107-L112 that such comments should disable the...
Thank you! Oh no, I think I see why end-of-line comments might have been treated separately :grimacing: There's a newly removed RUF100 unused noqa comment diagnostic in the [ecosystem report](https://github.com/pypa/cibuildwheel/blob/99059b74429eb968569914f1951bdeca074fb7ed/test/utils.py#L263-L277):...
> Could we detect if any of the comments are a pragma comment instead and not emit a diagnostic in that case? Ah that's a good idea, I'd prefer not...
Thanks for the report! I think it would be quite difficult to understand the decorator to the extent that it would suppress the rule. But I kind of agree about...
Yeah I definitely wouldn't want this without the test integration. The existing integration also only enforces the minimum safety, so setting `safety = "display-only"` everywhere would pass all tests, *and*...
(Not trying to push this forward with the additional commits, necessarily. I just added the pieces I needed for my own data analysis)
Thanks for the report! I'll transfer this to the ty repo. I think this might be related to https://github.com/astral-sh/ty/issues/136, but someone else will probably have a better answer than I...
This setting seems to be working when I tried to reproduce it locally. Could these inlay hints be coming from pylance? 
I can partially reproduce this in Emacs. Using the `lsp-find-type-defintion` command with my cursor on the `Test()` call takes me straight to the `class Test` line, but `lsp-find-declaration` opens a...
This looks like a pretty similar PR wiring up our GitLab output format: astral-sh/ruff#20155, in case it helps. But Micha is right, `ruff` is hard-coded several places in the current...