Coverage for src / python_commitlint / config / __init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-04-28 02:54 +0000

1"""Configuration layer — YAML loading and JS-to-YAML conversion. 

2 

3This subpackage exposes :class:`ConfigurationLoader` (loads commitlint config 

4from YAML) and :class:`CommitlintConfigConverter` (translates legacy 

5``commitlint.config.js`` files into ``.commitlintrc.yaml``). 

6""" 

7 

8from python_commitlint.config.configuration import ( 

9 ConfigurationLoader, 

10 ConfigurationLoaderFactory, 

11) 

12from python_commitlint.config.converter import ( 

13 CommitlintConfigConverter, 

14 convert_js_to_yaml, 

15) 

16 

17__all__ = [ 

18 "CommitlintConfigConverter", 

19 "ConfigurationLoader", 

20 "ConfigurationLoaderFactory", 

21 "convert_js_to_yaml", 

22]