From c8d5faff9b4baac64e7aa155ec7d2c4d98d692dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Deltheil?= Date: Mon, 11 Dec 2023 13:50:27 +0100 Subject: [PATCH] pyproject.toml: add example for combine-as-imports b44d612 was misleading (s/avoid/allow/) --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4f5652a..7ace574 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,6 +79,10 @@ ignore = [ line-length = 120 [tool.ruff.lint.isort] +# Allow this kind of import on a single line: +# +# from torch import device as Device, dtype as DType +# combine-as-imports = true [tool.docformatter]