RadioAstronomySoftwareGroup / pyuvsim

A ultra-high precision package for simulating radio interferometers in python on compute clusters.
https://pyuvsim.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
42 stars 6 forks source link

Check for coverage on all branches #456

Open bhazelton opened 3 months ago

bhazelton commented 3 months ago

Do this by setting branch = true in the run section of .coveragerc. Without this we aren't testing all branches of an if statement, which can be particularly problematic for inline if statements.