Apply code format