Fix LGTM warnings
Warnings can be found on this page https://lgtm.com/projects/g/wayland-project/libinput/alerts/?mode=list
In case someone interested on other warnings on this page, I should note that input()
warnings for python are false-positives, they were only relevant for python2.
Edited by Konstantin Kharlamov