Ensure that python code bundled with stim passes pytype --strict-none-binding.
pytype --strict-none-binding