[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

@ -1,10 +1,12 @@
#!/usr/bin/env python3
import sys
from pathlib import Path
from typing import Any, cast, Dict, List, Set
import yaml
GITHUB_DIR = Path(__file__).parent.parent