Tom mentioned in review request #39672 (https://review.openstack.org/#/c/39672/) that he would like to see the used statements in tools/. I think it's not a good idea to do an automatic clean up before merging the sources with the upstream and would suggest to extend tools/validate.py. Then the writers are responsible for removing trailing whitespaces and unnecessary spaces (https://review.openstack.org/#/c/39665/). If that's okay for you I would prepare a review request with some new validation methods in tools/validate.py. Christian. -- Christian Berendt Cloud Computing Solution Architect Mail: berendt at b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537