Tidied airpi.py to increase PyLint score to 7.84