Skip to content

Consider a custom usethis hook for keeping config in-sync #1674

Description

@nathanjmcdougall

Sometimes we duplicate config e.g. src layout configuration for different tools.

Perhaps we could use tool.usethis as a source of truth for this, until PEPs land, and then we can force correspondence via pre-commit.

I think we could write a general hook which lets you designate multiple config file fields that should validate to be equal, or even have a source/target distinction to enable autofix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

philosophyDetermining the best design approach

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions