Coverage for src/footman/_colordata.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-07-24 13:38 +0000

1# Generated by `fm footman tools color` — do not edit by hand. 

2# 

3# Each curated tool's probed colour control: how footman forces it on and off. 

4# `tools.py` reads this for its forcing table; the docs read it for the support 

5# table. A tool obeys `env` (FORCE_COLOR/NO_COLOR), needs its own `flag`, or can 

6# force neither way (`none`); `unprobed` had no trigger. 

7# 

8# key -> (argv0, on, off, flag_on, flag_off, pre_verb) 

9_Row = tuple[str, str, str, tuple[str, ...], tuple[str, ...], bool] 

10 

11COLOUR: dict[str, _Row] = { 

12 "basedpyright": ("basedpyright", "env", "env", (), (), False), 

13 "build": ("pyproject-build", "env", "env", (), (), False), 

14 "bun": ("bun", "env", "env", (), (), False), 

15 "cmake": ("cmake", "env", "env", (), (), False), 

16 "coverage": ("coverage", "none", "n/a", (), (), False), 

17 "cspell": ("cspell", "flag", "env", ("--color",), ("--no-color",), False), 

18 "djlint": ("djlint", "none", "n/a", (), (), False), 

19 "docker": ("docker", "n/a", "n/a", (), (), False), 

20 "eclint": ("eclint", "none", "n/a", (), (), False), 

21 "gh": ("gh", "env", "env", (), (), False), 

22 "git": ( 

23 "git", 

24 "flag", 

25 "env", 

26 ("-c", "color.ui=always"), 

27 ("-c", "color.ui=never"), 

28 True, 

29 ), 

30 "git_changelog": ("git-changelog", "env", "env", (), (), False), 

31 "git_cliff": ("git-cliff", "env", "none", (), (), False), 

32 "markdownlint": ("markdownlint-cli2", "none", "n/a", (), (), False), 

33 "mkdocs": ("mkdocs", "none", "n/a", (), (), False), 

34 "mypy": ("mypy", "env", "env", (), (), False), 

35 "ninja": ("ninja", "env", "env", (), (), False), 

36 "prek": ("prek", "env", "env", (), (), False), 

37 "pytest": ("pytest", "env", "env", (), (), False), 

38 "python": ("python", "none", "n/a", (), (), False), 

39 "ruff": ("ruff", "env", "env", (), (), False), 

40 "ruff_format": ("ruff", "env", "env", (), (), False), 

41 "twine": ("twine", "env", "none", (), (), False), 

42 "ty": ("ty", "env", "env", (), (), False), 

43 "uv": ("uv", "env", "env", (), (), False), 

44 "zensical": ("zensical", "none", "n/a", (), (), False), 

45}