Use __future__ imports in scripts (#5301)

This commit is contained in:
Charlie Marsh 2023-06-22 11:40:16 -04:00 committed by GitHub
parent eaa10ad2d9
commit f9f0cf7524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 25 additions and 4 deletions

View file

@ -3,13 +3,14 @@ panics, autofix errors and similar problems.
It's a less elaborate, more hacky version of check_ecosystem.py
"""
from __future__ import annotations
import json
import subprocess
import sys
from pathlib import Path
from subprocess import CalledProcessError
from typing import NamedTuple, Optional
from typing import NamedTuple
from tqdm import tqdm
@ -19,7 +20,7 @@ class Repository(NamedTuple):
org: str
repo: str
ref: Optional[str]
ref: str | None
def main() -> None: