From 4677ac8b2cfbd2f3a2b93d970f1609f37c27ef4b Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 15 Dec 2024 18:55:07 +0000 Subject: [PATCH] sorting imports code snippet --- dev.toml | 1 + server.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/dev.toml b/dev.toml index 1b07fa1..05a80bb 100644 --- a/dev.toml +++ b/dev.toml @@ -4,6 +4,7 @@ [tool.ruff] # https://docs.astral.sh/ruff/configuration/ # we do not use black or isort, we use ruff instead +# to sort imports, ruff check --select I --fix line-length=120 lint.ignore = ["E402", "F541"] diff --git a/server.toml b/server.toml index 661079c..2063bff 100644 --- a/server.toml +++ b/server.toml @@ -4,6 +4,7 @@ [tool.ruff] # https://docs.astral.sh/ruff/configuration/ # we do not use black or isort, we use ruff instead +# to sort imports, ruff check --select I --fix line-length=120 lint.ignore = ["E402", "F541"]