gramaziokohler / roslibpy

Python ROS Bridge library
MIT License
273 stars 56 forks source link

⚫ Switch to black #99

Closed gonzalocasas closed 2 years ago

gonzalocasas commented 2 years ago

Switching to black. Perhaps the easiest way to go through this PR is per commit, because they kind of make more sense:

  1. Settings to make the switch to black: https://github.com/gramaziokohler/roslibpy/commit/ec71e47c79dafea4b5bcf874a28982fa15b03228
  2. Run black but skip string normalization: https://github.com/gramaziokohler/roslibpy/commit/eed0f8d54d1c4141a7effb947a21c534ec91e4b5
  3. Run black with string normalization enabled: https://github.com/gramaziokohler/roslibpy/commit/3823eb2adb26d971a4fe1232d3d26cdd12a9593e
  4. Run isort because the style has changed: https://github.com/gramaziokohler/roslibpy/commit/7cfeec82e6fcee86b8eba2fed7f3d61692e7e2fc
  5. Run black on non-source file (ie. tests and setup): https://github.com/gramaziokohler/roslibpy/commit/2acb59c5091e7f36c21f9feace96c3205456b4da

What type of change is this?

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.