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.
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
conffolder, or override theget_extended_config_filefunction somehow.