Flake8 compliant and changed type of input fields