Format fix with pep

Format correction with the help of pep tools. The fixes include:
- identation
- conventions names

Fixed iles are:
- setting.py
- time_entry.py
- spent.py