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

pantsbuild / pants / 26527103251

27 May 2026 05:20PM UTC coverage: 92.791% (-0.001%) from 92.792%
26527103251

Pull #23382

github

web-flow
Merge a757e0256 into 1246bdca5
Pull Request #23382: Move Buf subsystem out of the lint subpackage

4 of 6 new or added lines in 3 files covered. (66.67%)

1 existing line in 1 file now uncovered.

93062 of 100292 relevant lines covered (92.79%)

4.02 hits per line

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

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

NEW
4
from pants.backend.codegen.protobuf.buf import skip_field
×
NEW
5
from pants.backend.codegen.protobuf.buf.subsystem import BufSubsystem
×
6
from pants.backend.codegen.protobuf.lint.buf.format_rules import rules as buf_format_rules
×
7
from pants.backend.codegen.protobuf.lint.buf.lint_rules import rules as buf_lint_rules
×
8
from pants.core.goals.resolves import ExportableTool
×
9
from pants.engine.unions import UnionRule
×
10

11

12
def rules():
×
13
    return (
×
14
        *buf_format_rules(),
15
        *buf_lint_rules(),
16
        *skip_field.rules(),
17
        UnionRule(ExportableTool, BufSubsystem),
18
    )
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