turns out tab characters mixed with spaces will display right in pycharm but not commit right.  changed to all spaces