LiberTEM/LiberTEM

View on GitHub
nbval_sanitize.cfg

Summary

Maintainability
Test Coverage
[cpu_times]
regex: CPU times: user (\d+min ?)?([\d\.e+]+ ?[nmµ]?s)?, sys: (\d+min ?)?([\d\.e+]+ ?[mnµ]?s)?, total: (\d+min ?)?([\d\.e+]+ ?[nmµ]?s)?
replace: CPU_TIMES

[cpu_times_win]
regex: CPU times: total: (\d+min ?)?([\d\.e+]+ ?[nmµ]?s)?
replace: CPU_TIMES

[wall_time]
regex: Wall time: (\d+min ?)?([\d\.e+]+ ?[nmµ]?s)?
replace: WALL_TIME

[default_repr]
regex: <[a-zA-Z\.]+ at 0x[0-9a-f]+>
replace: DEFAULT_REPR

[figure_size]
regex: Figure size [0-9]+x[0-9]+
replace: FIGURE

[num_partitions]
regex: 'name': 'Number of partitions', 'value': '[0-9]+'
replace: NUM_PART

[progress_bar]
regex: Partitions [0-9]+(\([0-9]+\))?\/[0-9]+, Frames:\s*[0-9]+\%.*$
replace: PROGRESS_TEXT