Skip to content

Load named config files from importlib entrypoints, to support shareable configs #797

@djmattyg007

Description

@djmattyg007

Python's built-in importlib entrypoints functionality is a nice and simple way to support pluggable functionality. In the case of yamllint, it could be used to provide additional named config files. This would make it easier to provide shareable config files as Python packages. Right now if someone wants to do this, they have to manually copy files into yamllint's conf folder, or override the get_extended_config_file function somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions