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

pantsbuild / pants / 18252174847

05 Oct 2025 01:36AM UTC coverage: 43.382% (-36.9%) from 80.261%
18252174847

push

github

web-flow
run tests on mac arm (#22717)

Just doing the minimal to pull forward the x86_64 pattern.

ref #20993

25776 of 59416 relevant lines covered (43.38%)

1.3 hits per line

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

0.0
/src/python/pants/backend/experimental/openapi/register.py
1
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3

4
from __future__ import annotations
×
5

6
from collections.abc import Iterable
×
7

8
from pants.backend.openapi import dependency_inference
×
9
from pants.backend.openapi.goals import tailor
×
10
from pants.backend.openapi.target_types import (
×
11
    OpenApiBundleTarget,
12
    OpenApiDocumentGeneratorTarget,
13
    OpenApiDocumentTarget,
14
    OpenApiSourceGeneratorTarget,
15
    OpenApiSourceTarget,
16
)
17
from pants.backend.openapi.target_types import rules as target_types_rules
×
18
from pants.backend.openapi.util_rules import openapi_bundle
×
19
from pants.engine.rules import Rule
×
20
from pants.engine.target import Target
×
21
from pants.engine.unions import UnionRule
×
22

23

24
def rules() -> Iterable[Rule | UnionRule]:
×
25
    return [
×
26
        *dependency_inference.rules(),
27
        *openapi_bundle.rules(),
28
        *tailor.rules(),
29
        *target_types_rules(),
30
    ]
31

32

33
def target_types() -> Iterable[type[Target]]:
×
34
    return (
×
35
        OpenApiDocumentTarget,
36
        OpenApiDocumentGeneratorTarget,
37
        OpenApiSourceTarget,
38
        OpenApiSourceGeneratorTarget,
39
        OpenApiBundleTarget,
40
    )
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

© 2025 Coveralls, Inc