Skip to content

Path handling on non-case sensitive systems #189

@MichaReiser

Description

@MichaReiser

The project file discovery and the Files interner assume that two paths that only different in casing are two unique paths. However, this is not true on all file systems and it could result in Red Knot considering two files as being different even though they're the same on disk.

We should test how Red Knot handles paths with different casing on case-insensitive file systems (looking at you Windows). That also includes project file discovery.

Related to astral-sh/ruff#13691

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions