|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Functions | |
| str | normalize_path (str|Path path) |
| Normalize path. | |
| argparse.Namespace | parse_args () |
| Parse args. | |
| list[str] | build_trace_ignoredirs () |
| Build trace ignoredirs. | |
| dict[str, dict[int, int]] | collect_counts (trace.CoverageResults results) |
| Collect counts. | |
| tuple[int, int, float] | compute_file_coverage (Path target, dict[str, dict[int, int]] counts_by_file) |
| Compute file coverage. | |
| int | main () |
| Entry point for this script. | |
Variables | |
| REPO_ROOT = Path(__file__).resolve().parents[1] | |
| list | DEFAULT_TARGETS |
Run pytest under stdlib trace and enforce a line-coverage threshold.
| str python_coverage_gate.normalize_path | ( | str | Path | path | ) |
Normalize path.
| [in] | path | Filesystem path argument passed to normalize_path(). |
normalize_path(). Definition at line 19 of file python_coverage_gate.py.
| argparse.Namespace python_coverage_gate.parse_args | ( | ) |
Parse args.
parse_args(). Definition at line 28 of file python_coverage_gate.py.
| list[str] python_coverage_gate.build_trace_ignoredirs | ( | ) |
Build trace ignoredirs.
build_trace_ignoredirs(). Definition at line 72 of file python_coverage_gate.py.
| dict[str, dict[int, int]] python_coverage_gate.collect_counts | ( | trace.CoverageResults | results | ) |
Collect counts.
| [in] | results | Argument passed to collect_counts(). |
collect_counts(). Definition at line 94 of file python_coverage_gate.py.
| tuple[int, int, float] python_coverage_gate.compute_file_coverage | ( | Path | target, |
| dict[str, dict[int, int]] | counts_by_file | ||
| ) |
Compute file coverage.
| [in] | target | Argument passed to compute_file_coverage(). |
| [in] | counts_by_file | Argument passed to compute_file_coverage(). |
compute_file_coverage(). Definition at line 107 of file python_coverage_gate.py.
| int python_coverage_gate.main | ( | ) |
Entry point for this script.
main(). Definition at line 129 of file python_coverage_gate.py.
| python_coverage_gate.REPO_ROOT = Path(__file__).resolve().parents[1] |
Definition at line 13 of file python_coverage_gate.py.
| list python_coverage_gate.DEFAULT_TARGETS |
Definition at line 14 of file python_coverage_gate.py.