-
Notifications
You must be signed in to change notification settings - Fork 69
COMP: Build against ITK main; repair ExternalData, baselines, and docs CI #456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
hjmjohnson
merged 10 commits into
InsightSoftwareConsortium:main
from
hjmjohnson:fix/ci-itk-pin-and-deps
Jun 12, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2b27784
COMP: Build against ITK main; sync ExternalData config with ITK
hjmjohnson 45a6f2d
ENH: Convert ComputeFFTInOneDimension content links from sha512 to cid
hjmjohnson 50add76
DOC: Recreate lost Core/Common example visuals with new CIDs
hjmjohnson 8927641
COMP: Tolerate one intensity level in six baseline comparisons
hjmjohnson 6b41696
STYLE: Replace deprecated iterator GetIndex and RNG Initialize calls
hjmjohnson 52d5b26
COMP: Exempt the UseITK.cmake deprecation from the warning gate
hjmjohnson 3711827
COMP: Add ITK-style pre-commit configuration
hjmjohnson 7658627
STYLE: Apply pre-commit mechanical fixes across the tree
hjmjohnson fa9225c
DOC: Store executed outputs in ConvertNumPyArrayToitkImage notebook
hjmjohnson 9ca80aa
DOC: Fix Sphinx warnings surfaced by the documentation gate
hjmjohnson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # Mirrors ITK's .pre-commit-config.yaml style gates for C++ and Python. | ||
| # The clang-format rev must track ITK main's pin (the lint CI job | ||
| # resolves its version from ITK main at run time). | ||
| fail_fast: true | ||
| default_stages: [pre-commit] | ||
| repos: | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v5.0.0 | ||
| hooks: | ||
| - id: check-added-large-files | ||
| args: ['--maxkb=200'] | ||
| - id: check-ast | ||
| - id: check-case-conflict | ||
| - id: check-illegal-windows-names | ||
| - id: check-json | ||
| exclude: "\\.ipynb$" | ||
| - id: check-merge-conflict | ||
| - id: check-toml | ||
| - id: check-vcs-permalinks | ||
| - id: check-xml | ||
| - id: check-yaml | ||
| - id: check-shebang-scripts-are-executable | ||
| - id: debug-statements | ||
| exclude: "^Utilities\\/SphinxExtensions\\/" | ||
| - id: destroyed-symlinks | ||
| - id: detect-private-key | ||
| - id: end-of-file-fixer | ||
| exclude: "\\.(md5|sha512|cid|svg|vtk|vtp|ipynb)$|^Superbuild\\/" | ||
| - id: forbid-new-submodules | ||
| - id: mixed-line-ending | ||
| exclude: "\\.(sha512|cid|svg|vtk|vtp|ipynb)$" | ||
| - id: no-commit-to-branch | ||
| args: ['--branch','main','--branch','dashboard','--branch','gh-pages'] | ||
| - id: trailing-whitespace | ||
| exclude: "\\.(sha512|cid|svg|vtk|vtp|ipynb)$" | ||
| - repo: https://github.com/pre-commit/mirrors-clang-format | ||
| rev: v19.1.7 | ||
| hooks: | ||
| - id: clang-format | ||
| args: ['--style=file'] | ||
| files: '\.(c|cc|h|cxx|hxx)$' | ||
| - repo: https://github.com/psf/black | ||
| rev: 25.12.0 | ||
| hooks: | ||
| - id: black | ||
| args: ['--target-version', 'py310'] | ||
| exclude: "^Utilities\\/SphinxExtensions\\/" | ||
| - repo: https://github.com/asottile/pyupgrade | ||
| rev: v3.21.2 | ||
| hooks: | ||
| - id: pyupgrade | ||
| args: [--py310-plus] | ||
| exclude: "^Utilities\\/SphinxExtensions\\/" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| file(DOWNLOAD https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.3.0/InsightDoxygenDocTag-5.3.0.gz | ||
| ${ITKDoxygenTAG_TEMP_DIR}/InsightDoxygen.tag.gz SHOW_PROGRESS | ||
| ) | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,4 @@ Credits | |
| :avatars: | ||
| :exclude: itkrobot | ||
| :limit: 100 | ||
| :order: DESC | ||
| :order: DESC | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these file mode changes intentional? Why make these ~30 .py files executable? All of them should have the same file mode.