Skip to content

Lint docs tests for unused imports #4570

Open
@sffc

Description

@sffc

I've come across a number of docs tests that have unused imports, which can be confusing to clients and developers.

We should clean up unused imports and then prevent them from being added again.

@Manishearth suggested running docs tests with -D warnings or a flag that causes the docs tests to fail if they have unused imports warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-processComponent: Team processesT-docs-testsType: Code change outside core libraryblockedA dependency must be resolved before this is actionable

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions