ITK icon indicating copy to clipboard operation
ITK copied to clipboard

Add pre-commit hook and GHA workflow to apply `black` linter to Python files

Open jhlegarreta opened this issue 9 months ago • 1 comments

Description

Add a pre-commit hook and GHA workflow to apply the black linter to Python files.

Expected coding style

ITK contains numerous Python files: by applying a pre-commit hook and GHA workflow to apply the black linter to such files would improve readability across such files by standardizing their style.

Actual coding style

No Python linter is applied other than the one done locally by some maintainers and contributors.

Versions

master.

Additional Information

N/A.

jhlegarreta avatar Oct 01 '23 18:10 jhlegarreta