Format code for style guidelines