Skip to content

Pin black and isort and format files w/ those pins

Liam Toney requested to merge format into main

This MR pins the Black and isort formatting tools to specific versions (23.10.0 and 5.12.0, respectively) in the installation script. This means that the CI jobs and our local environments will be running the same versions with the same style rules — so we should have less headaches.

Just remember to run

black -S .
isort --conda-env lsforce --profile black .

from the root of the repository before committing any changes to .py files.

As a reminder, we're using these formatting tools primarily so that our git diffs will show only changes to code, not changes to formatting.

Fixes #30 (closed).

Merge request reports

Loading