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

pantsbuild / pants / 18807159280

25 Oct 2025 06:54PM UTC coverage: 43.267% (-37.0%) from 80.279%
18807159280

Pull #22800

github

web-flow
Merge 6c11b3021 into 4834308dc
Pull Request #22800: Bump the gha-deps group across 1 directory with 14 updates

25836 of 59713 relevant lines covered (43.27%)

0.87 hits per line

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

90.48
/src/python/pants/backend/go/util_rules/link_defs.py
1
# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3
from __future__ import annotations
2✔
4

5
from dataclasses import dataclass
2✔
6

7
from pants.backend.go.util_rules.build_opts import GoBuildOptions
2✔
8
from pants.engine.environment import EnvironmentName
2✔
9
from pants.engine.internals.native_engine import Digest
2✔
10
from pants.engine.rules import collect_rules, rule
2✔
11
from pants.engine.unions import union
2✔
12
from pants.util.frozendict import FrozenDict
2✔
13

14

15
@union(in_scope_types=[EnvironmentName])
2✔
16
@dataclass(frozen=True)
2✔
17
class ImplicitLinkerDependenciesHook:
2✔
18
    build_opts: GoBuildOptions
2✔
19

20

21
@dataclass(frozen=True)
2✔
22
class ImplicitLinkerDependencies:
2✔
23
    digest: Digest
2✔
24
    import_paths_to_pkg_a_files: FrozenDict[str, str]
2✔
25

26

27
@rule(polymorphic=True)
2✔
28
async def get_implicit_linker_dependencies(
2✔
29
    req: ImplicitLinkerDependenciesHook, env_name: EnvironmentName
30
) -> ImplicitLinkerDependencies:
31
    raise NotImplementedError()
×
32

33

34
def rules():
2✔
35
    return collect_rules()
×
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