From 465eac2045931a8be9aad4f0c5383f3c46216159 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Wed, 1 Oct 2025 20:58:39 -0500 Subject: [PATCH] Change black repo to black-pre-commit-mirror Updated the pre-commit configuration to use the black-pre-commit-mirror repository instead of the original black repository. Also omit scanning the Fem examples directory. --- .pre-commit-config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 84612dc13b..101f719e16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,6 +44,7 @@ exclude: | src/Gui/3Dconnexion/navlib| src/Gui/QSint| src/Gui/Quarter| + src/Mod/Fem/femexamples| src/Mod/Import/App/SCL| src/Mod/Import/App/SCL_output| src/Mod/Mesh/App/TestData| @@ -60,8 +61,8 @@ repos: - id: check-yaml - id: check-added-large-files - id: mixed-line-ending -- repo: https://github.com/psf/black - rev: af0ba72a73598c76189d6dd1b21d8532255d5942 # frozen: 25.9.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: fe95161893684893d68b1225356702ca71f8d388 # frozen: 25.9.0 hooks: - id: black args: ['--line-length', '100']