Skip to content

Does prek understand files such as .nvmrc or .python-version #1952

Description

@hofbi

This is a question (and optional feature request). Some languages/tools provide config files to specify their tool/language version, e.g. .python-version for uv or .nvmrc for node. Would it make sense if prek reads these versions and uses them as respective language version if not specified in the config file? This would prevent users from making sure the language version set in prek is in sync with the rest of the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaJust an idea

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions