Skip to content

Commit 66e526e

Browse files
committed
Sort imports
1 parent 38dad8b commit 66e526e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

build_docs.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,28 @@
2222

2323
from __future__ import annotations
2424

25-
from argparse import ArgumentParser, Namespace
26-
from collections.abc import Sequence
27-
from contextlib import suppress, contextmanager
28-
from dataclasses import dataclass
2925
import filecmp
3026
import json
3127
import logging
3228
import logging.handlers
33-
from functools import total_ordering
34-
from os import getenv, readlink
3529
import re
3630
import shlex
3731
import shutil
3832
import subprocess
3933
import sys
34+
from argparse import ArgumentParser, Namespace
4035
from bisect import bisect_left as bisect
41-
from datetime import datetime as dt, timezone
36+
from collections.abc import Iterable, Sequence
37+
from contextlib import contextmanager, suppress
38+
from dataclasses import dataclass
39+
from datetime import datetime as dt
40+
from datetime import timezone
41+
from functools import total_ordering
42+
from os import getenv, readlink
4243
from pathlib import Path
4344
from string import Template
4445
from time import perf_counter, sleep
4546
from typing import Literal
46-
from collections.abc import Iterable
4747
from urllib.parse import urljoin
4848

4949
import jinja2
@@ -52,7 +52,8 @@
5252
import zc.lockfile
5353

5454
try:
55-
from os import EX_OK, EX_SOFTWARE as EX_FAILURE
55+
from os import EX_OK
56+
from os import EX_SOFTWARE as EX_FAILURE
5657
except ImportError:
5758
EX_OK, EX_FAILURE = 0, 1
5859

check_versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/usr/bin/env python
22

3-
from pathlib import Path
43
import argparse
54
import asyncio
65
import logging
76
import re
7+
from pathlib import Path
88

9+
import git
910
import httpx
1011
import urllib3
1112
from tabulate import tabulate
12-
import git
1313

1414
import build_docs
1515

0 commit comments

Comments
 (0)