Skip to content

Make lb-format fail if the project uses pre-commit

Marco Clemencic requested to merge prefer-pre-commit into master

With the idea of migrating projects from the custom lb-format to https://pre-commit.com (see gaudi/Gaudi!1261 (merged)), this MR makes lb-format refuse to operate on a file that should be checked/formatted with pre-commit and suggests to use pre-commit instead.

Edited by Marco Clemencic

Merge request reports