mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:44:09 +01:00
ci.eval.compare: turn warnings into errors
This helps detect my math errors
This commit is contained in:
parent
4c7ec9bf20
commit
f8210561f3
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import json
|
|||
import numpy as np
|
||||
import os
|
||||
import pandas as pd
|
||||
import warnings
|
||||
|
||||
from pathlib import Path
|
||||
from scipy.stats import ttest_rel
|
||||
|
|
@ -149,6 +150,9 @@ def main():
|
|||
|
||||
options = parser.parse_args()
|
||||
|
||||
# Turn warnings into errors
|
||||
warnings.simplefilter("error")
|
||||
|
||||
before_stats = Path(options.before)
|
||||
after_stats = Path(options.after)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue