Skip to content

Conversation

@blowekamp
Copy link
Member

Updated script to follow modern python conventions. Fixed issues with using legacy python 2 string and print syntax.

Updated script to follow modern python conventions. Fixed issues with
using legacy python 2 string and print syntax.
@blowekamp blowekamp requested review from dave3d and zivy February 21, 2025 14:32
Copy link
Member

@dave3d dave3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

black would reformat this file a bit.

@blowekamp
Copy link
Member Author

blowekamp commented Feb 21, 2025

We have black running as a pre-commit and in the CI, so it shouldn't... But I'll double check.

Passes:
.git/hooks/venv/bin/pre-commit run --files Utilities/*.py
detect private key.......................................................Passed
forbid submodules....................................(no files to check)Skipped
check for case conflicts.................................................Passed
check illegal windows names..........................(no files to check)Skipped
check json...........................................(no files to check)Skipped
check yaml...........................................(no files to check)Skipped
black....................................................................Passed
clang-format.........................................(no files to check)Skipped
Check version of SetupForDevelopment.....................................Passed
kw-pre-commit............................................................Passed
forbid txx extensions................................(no files to check)Skipped

@blowekamp blowekamp merged commit e47940e into SimpleITK:master Feb 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants