ruff
4e7c8dbf - Retain `lazy` keyword when sorting imports (#23762)

Commit
46 days ago
Retain `lazy` keyword when sorting imports (#23762) ## Summary For now, we keep our sections as-is, but within each section, we show all the eager imports followed by all the lazy imports, e.g.: ```python import json import os import subprocess from collections import defaultdict from pathlib import Path from typing import Final lazy import ast lazy import shutil lazy from dataclasses import dataclass ``` We may change this behavior later; it shouldn't be considered stable. See: https://github.com/astral-sh/ruff/issues/21305.
Author
Parents
Loading