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

pantsbuild / pants / 24103052497

07 Apr 2026 08:33PM UTC coverage: 52.311% (-40.6%) from 92.909%
24103052497

Pull #23228

github

web-flow
Merge 18fdfb0fd into b05152cd9
Pull Request #23228: Add persistent dependency inference cache for incremental --changed-dependents

31 of 136 new or added lines in 2 files covered. (22.79%)

23028 existing lines in 605 files now uncovered.

31671 of 60544 relevant lines covered (52.31%)

1.05 hits per line

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

0.0
/src/python/pants/backend/visibility/subsystem.py
1
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
UNCOV
3
from __future__ import annotations
×
4

UNCOV
5
from pants.option.option_types import BoolOption, SkipOption
×
UNCOV
6
from pants.option.subsystem import Subsystem
×
UNCOV
7
from pants.util.strutil import softwrap
×
8

9

UNCOV
10
class VisibilitySubsystem(Subsystem):
×
UNCOV
11
    name = "Visibility Rules"
×
UNCOV
12
    options_scope = "visibility"
×
UNCOV
13
    help = "Options for the visibility rules implementation of the dependency rules API."
×
14

UNCOV
15
    skip = SkipOption("lint")
×
16

UNCOV
17
    enforce = BoolOption(
×
18
        default=True,
19
        help=softwrap(
20
            """
21
            Visibility rules are enforced whenever dependencies are calculated unless `enforce` is
22
            set to false.
23
            """
24
        ),
25
    )
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