text: Title: Apply black to Python templates
  Body: We should look into getting black to apply to https://github.com/scrapy/scrapy/tree/master/scrapy/templates.
  
  Mind that it would break https://github.com/scrapy/scrapy/pull/5808 at the moment, i.e. we might need to make sure template building code works with the new code style of templates.