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.
This commit is contained in:
Chris Hennes
2025-10-01 20:58:39 -05:00
committed by GitHub
parent b08a0f87d6
commit 5cc7d1a869

View File

@@ -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']