Skip to content

tools: check-imports.py false negatives #29226

Closed
@bnoordhuis

Description

@bnoordhuis

Refs: #29222

As that PR shows, there are some unused imports that tools/check-imports.py doesn't catch because:

  1. They're used in comments.
  2. The tool doesn't match at word boundaries (e.g. FromJust is considered a use of Just.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.toolsIssues and PRs related to the tools directory.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions