This has been bugging me for a while as I'm working on these Python scripts and they are not tracked by ufmt linter. So I add these script into that linter.
```
[[linter]]
code = 'UFMT'
include_patterns = [
'.github/**/*.py',
'test/run_test.py',
```
This change should just work and not break anything as ufmt (black + usort) linter is very safe to use for standalone util scripts.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97588
Approved by: https://github.com/kit1980
### Description
<!-- What did you change and why was it needed? -->
When someone cancels a PR merge, it's not apparent that it's canceled unless the user clicks into that job. In this PR, we add a message if the pr gets canceled.
The only thing is the user will not receive a comment if the PR is canceled immediately since posting the message requires that the checkout be finished.
### Issue
<!-- Link to Issue ticket or RFP -->
n/a
### Testing
<!-- How did you test your change? -->
Tested it on canary https://github.com/pytorch/pytorch-canary/pull/132
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82744
Approved by: https://github.com/huydhn, https://github.com/seemethere