Fix pylint trivial bug for sdk and example code.

1. Unify indent to 2 spaces, except test dir.
2. Add module structure to example code, can use repo code directly.