Skip to content

Consider enabling INP ruff rules by default #128

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
Missing __init__.py can cause problems for various tools, e.g. import-linter.
There's a question of whether this should be enabled by default or only when using import-linter. In any case, we should definitely try and re-add if it's been removed, when adding import-linter.
Disable it for the tests dir.

There's a repo which provides an autofix: https://github.com/lk16/detect-missing-init
But I'd be concerned about a different heuristic from ruff so I'm inclined to not use this. It's really an upstream ruff feature request.

Summary of desired enhancement
Enable the INP ruff rule as appropriate.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions