• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Hekxsler / pudding / 20777776429

07 Jan 2026 09:22AM UTC coverage: 88.574% (+0.3%) from 88.305%
20777776429

Pull #1

github

web-flow
[tests]: add coverage for out.replace
Pull Request #1: Increase performance with custom node class

1155 of 1304 relevant lines covered (88.57%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
pudding/writer/util.py
1
"""Utility functions for writer package."""
2

3
from .writers.json import Json
1✔
4
from .writers.writer import Writer
1✔
5
from .writers.xml import SliXml, Xml
1✔
6
from .writers.yaml import Yaml
1✔
7

8

9
def get_writer_from_format(output_format: str) -> type[Writer]:
1✔
10
    """Return writer class for a output format."""
11
    match output_format:
1✔
12
        case "slixml":
1✔
13
            return SliXml
1✔
14
        case "json":
1✔
15
            return Json
1✔
16
        case "xml":
1✔
17
            return Xml
1✔
18
        case "yaml":
1✔
19
            return Yaml
1✔
20
        case _:
×
21
            raise ValueError(f"Unsupported output format {output_format}")
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc