Skip to content

Implement a rule management interface #311

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
See #120 (comment)

I think the motivation here is that often for declarative setup you will want to fine-tune ruff rules. I'm a bit concerned that we might also want to fine-tune rules for other tools too though, e.g. pyright. However, unless it's a first-class tool in the higher level interface (#298) then I don't think it makes to do that.

So that question just needs to be about whether the interface needs to explicitly refer to ruff or whether usethis rule is dedicated just to ruff, being the only tool that uses rules (which, I note isn't true if you consider deptry - but if the tools use a code-based system then this could be managed with a case-checking logic)

Summary of desired enhancement
Implement a rule management interface, perhaps under usethis rule.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions