Switch raised errors in valid to ValueError

6 jobs for eq_object in 1 minute and 5 seconds (queued for 9 minutes and 45 seconds)
Name Stage Failure
failed
coverage Test
ERROR tests/valid_test.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.17s ===============================
Uploading artifacts for failed job
Uploading artifacts...
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
formatting Test
flake8 --max-line-length=96 shakyground2 setup.py
black --check --line-length 96 shakyground2 setup.py
would reformat /builds/gweather/shakyground2/shakyground2/earthquake.py
would reformat /builds/gweather/shakyground2/shakyground2/valid.py
Oh no! 💥 💔 💥
2 files would be reformatted, 2 files would be left unchanged.
make: *** [Makefile:6: check] Error 1
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test Test
    from openquake.hazardlib.geo.nodalplane import NodalPlane
E ModuleNotFoundError: No module named 'openquake'
=========================== short test summary info ============================
ERROR tests/earthquake_test.py
ERROR tests/valid_test.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.13s ===============================
Cleaning up file based variables
ERROR: Job failed: exit code 1