ros-infrastructure / rep

ROS Enhancement Proposals
http://www.ros.org/reps/rep-0000.html
151 stars 137 forks source link

Small cleanups to the REP scripts. #396

Closed clalancette closed 8 months ago

clalancette commented 8 months ago
  1. Removes instances of /usr/bin/env python, which don't work on non-Linux and also were wrong in some cases.
  2. Makes sure to use raw strings for regexes, which gets rid of some warnings with modern Python.
  3. Uses '-f' when removing files to quite warnings.