cleaned up stype.py. use warning instead of print