Ping: Refactor module

3 jobs for master in 38 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed run-appdata #19958

00:00:05

failed run-tests #19957

00:00:32

 
  Build
skipped run-build #19959
 
Name Stage Failure
failed
run-tests Test
Successfully installed codespell-1.17.1
$ mypy -V
mypy 0.790
$ mypy gajim
gajim/common/modules/ping.py:45: error: The return type of a generator function should be "Generator" or one of its supertypes
Found 1 error in 1 file (checked 211 source files)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit status 1