PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions | Variables
python_coverage_gate.py File Reference

Go to the source code of this file.

Data Structures

class  python_coverage_gate.PathAwareIgnore
 

Namespaces

namespace  python_coverage_gate
 

Functions

str python_coverage_gate.normalize_path (str|Path path)
 Resolve a filesystem path to the canonical string used as a coverage-map key.
 
argparse.Namespace python_coverage_gate.parse_args ()
 Parse coverage thresholds, targets, output location, and pytest arguments for this gate.
 
list[str] python_coverage_gate.build_trace_ignoredirs ()
 Build trace ignoredirs.
 
dict[str, dict[int, int]] python_coverage_gate.collect_counts (trace.CoverageResults results)
 Transform Python trace results into a per-file, per-line execution-count mapping.
 
tuple[int, int, float] python_coverage_gate.compute_file_coverage (Path target, dict[str, dict[int, int]] counts_by_file)
 Compute file coverage.
 
int python_coverage_gate.main ()
 Entry point for this script.
 

Variables

 python_coverage_gate.REPO_ROOT = Path(__file__).resolve().parents[2]
 
list python_coverage_gate.DEFAULT_TARGETS