ruff icon indicating copy to clipboard operation
ruff copied to clipboard

[feature request] Extra tryceratops checks

Open wwuck opened this issue 1 year ago • 4 comments

It would be nice if ruff supported these extra tryceratops checks:

wwuck avatar Sep 24 '24 09:09 wwuck

TRY006 makes sense to me.

I fear thatTRY005 is blocked by #1774 because it's a very specific rule that probably doesn't make sense for most projects. However, we have quiet a few users that use Ruff with --select ALL.

MichaReiser avatar Sep 24 '24 11:09 MichaReiser

Could TRY005 be gated behind a configuration setting like it is in tryceratops?

wwuck avatar Sep 24 '24 11:09 wwuck

I don't think gating single rules behind additional configuration is appropriate for us

zanieb avatar Sep 24 '24 13:09 zanieb

However, we have quiet a few users that use Ruff with --select ALL.

but what is the issue with that? Not needed rule can be added to ignore or per-file-ignores config sections. I would expect it's part of ruff (pre-commit hook) upgrade process.

ashrub-holvi avatar Oct 24 '24 11:10 ashrub-holvi