text: Title: run black and other linting tools on generated code
  Body: In a comment on #2276, @alexcjohnson suggested:
  
  > I wonder, now that we're Py3-only, maybe we should call black on the generated files as part of the generation process? We already do that in the core component packages as a separate step.