improve indentation pattern

Signed-off-by: Matthias Schmeißer <mjs@grin.com>
add .cache and .pyc to gitignore

Signed-off-by: Matthias Schmeißer <mjs@grin.com>