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

pantsbuild / pants / 24144215414

08 Apr 2026 03:36PM UTC coverage: 90.427% (-2.5%) from 92.908%
24144215414

Pull #23227

github

web-flow
Merge 107cd62c9 into 9036734c9
Pull Request #23227: Fix uv PEX builder to use pex3 lock export

85 of 86 new or added lines in 2 files covered. (98.84%)

1990 existing lines in 131 files now uncovered.

83919 of 92803 relevant lines covered (90.43%)

3.58 hits per line

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

87.5
/src/python/pants/backend/python/typecheck/mypy/skip_field.py
1
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3

4
from pants.backend.python.target_types import (
4✔
5
    PythonSourcesGeneratorTarget,
6
    PythonSourceTarget,
7
    PythonTestsGeneratorTarget,
8
    PythonTestTarget,
9
    PythonTestUtilsGeneratorTarget,
10
)
11
from pants.engine.target import BoolField
4✔
12

13

14
class SkipMyPyField(BoolField):
4✔
15
    alias = "skip_mypy"
4✔
16
    default = False
4✔
17
    help = "If true, don't run MyPy on this target's code."
4✔
18

19

20
def rules():
4✔
UNCOV
21
    return [
×
22
        PythonSourcesGeneratorTarget.register_plugin_field(SkipMyPyField),
23
        PythonSourceTarget.register_plugin_field(SkipMyPyField),
24
        PythonTestsGeneratorTarget.register_plugin_field(SkipMyPyField),
25
        PythonTestTarget.register_plugin_field(SkipMyPyField),
26
        PythonTestUtilsGeneratorTarget.register_plugin_field(SkipMyPyField),
27
    ]
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