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

pantsbuild / pants / 18643165252

20 Oct 2025 05:32AM UTC coverage: 43.236% (-37.0%) from 80.248%
18643165252

Pull #22762

github

web-flow
Merge 70f1579b9 into 8e7f71e5f
Pull Request #22762: rust: upgrade to v1.90.0

25781 of 59628 relevant lines covered (43.24%)

1.3 hits per line

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

66.67
/src/python/pants/backend/terraform/utils.py
1
# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3
import os.path
3✔
4
import shlex
3✔
5

6

7
def terraform_arg(name: str, value: str) -> str:
3✔
8
    """Format a Terraform arg."""
9
    return f"{name}={shlex.quote(value)}"
×
10

11

12
def terraform_relpath(chdir: str, target: str) -> str:
3✔
13
    """Compute the relative path of a target file to the Terraform deployment root."""
14
    return os.path.relpath(target, start=chdir)
×
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