refactor warning() method into a function that takes data, and a function that takes a file object
refactor warning() method into a function that takes data, and a
function that takes a file object

akaihola/PyChecker,thomasvs/pychecker,thomasvs/pychecker,akaihola/PyChecker