[Chapel Merge] Add a 'black' check to verify formatting of Python files

Branch: refs/heads/main
Revision: bd95fb8f58e84f8ff9a33f9ef9b1e9ba49f24f4d
Author: DanilaFe
Link: Add a 'black' check to verify formatting of Python files by DanilaFe · Pull Request #24909 · chapel-lang/chapel · GitHub
Log Message:
Add a 'black' check to verify formatting of Python files (#24909)

Only on chapel-py and its derivative projects.

This CI check only runs on PRs that touch files in chapel-py,
chplcheck, or chpl-language-server.

Reviewed by @tzinsky -- thanks!

Compare: Comparing af0a260238b2310fb3709011e79929d5563652c3...79770fa37578717734205d32334f74943c4ec15d · chapel-lang/chapel · GitHub

Diff:
A .github/workflows/python-format-CI.yml
https://github.com/chapel-lang/chapel/pull/24909.diff