[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

@ -9,6 +9,7 @@ from typing import Any, Callable, Dict, List, Set
from github_utils import gh_fetch_json_dict, gh_graphql
from gitutils import GitRepo
SEC_IN_DAY = 24 * 60 * 60
CLOSED_PR_RETENTION = 30 * SEC_IN_DAY
NO_PR_RETENTION = 1.5 * 365 * SEC_IN_DAY