diff --git a/mypy.ini b/mypy.ini index 81c8eb2a6..fba1bf9ab 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,7 +5,7 @@ ignore_missing_imports = True strict_equality = True warn_redundant_casts = True warn_unused_configs = True -warn_unused_ignores = True +warn_unused_ignores = False exclude = tests|docs|examples|bin diff --git a/tests/test_grid3d/test_ecl_inte_head.py b/tests/test_grid3d/test_ecl_inte_head.py index fc1297212..210866ebb 100644 --- a/tests/test_grid3d/test_ecl_inte_head.py +++ b/tests/test_grid3d/test_ecl_inte_head.py @@ -29,9 +29,9 @@ def test_intehead_iphs_when_e300(): intehead_values = [0] * 100 intehead_values[94] = 300 # simulator is Ecl 300 intehead_values[14] = 8 # 14 is IPHS code in E100 but no. tracers in E300, here 8 - assert InteHead(intehead_values).phases == Phases.OIL_WATER_GAS, ( - "phases always OIL_WATER_GAS in Eclipse 300" - ) + assert ( + InteHead(intehead_values).phases == Phases.OIL_WATER_GAS + ), "phases always OIL_WATER_GAS in Eclipse 300" def test_intehead_iphs_fail_when_outsiderange_e100():