[BE][Easy][2/19] enforce style for empty lines in import segments in .ci/ and .github/ (#129753)

See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501. Most changes are auto-generated by linter.

You can review these PRs via:

```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129753
Approved by: https://github.com/malfet
ghstack dependencies: #129752
This commit is contained in:
Xuehai Pan
2024-07-15 14:56:26 +08:00
committed by PyTorch MergeBot
parent 096dc444ce
commit 747b38c131
30 changed files with 24 additions and 16 deletions

View File

@ -45,7 +45,6 @@ from github_utils import (
gh_update_pr_state,
GitHubComment,
)
from gitutils import (
are_ghstack_branches_in_sync,
get_git_remote_name,
@ -62,6 +61,7 @@ from label_utils import (
)
from trymerge_explainer import get_revert_message, TryMergeExplainer
# labels
MERGE_IN_PROGRESS_LABEL = "merging"
MERGE_COMPLETE_LABEL = "merged"