From 612e0779bba95a23ad3476a79d3ad371664f8685 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:05:30 -0400 Subject: [PATCH] isort take 2 --- .copier-answers.yml | 2 +- pyproject.toml | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 9cd25ae..4fd1b6f 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 0c4df0a +_commit: 711106c _src_path: . add_extension: python email: t.paine154@gmail.com diff --git a/pyproject.toml b/pyproject.toml index 5a52761..127406e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,17 +105,14 @@ testpaths = "python_template/tests" [tool.ruff] line-length = 150 +[tool.ruff.lint] +extend-select = ["I"] + [tool.ruff.lint.isort] combine-as-imports = true default-section = "third-party" known-first-party = ["python_template"] -section-order = [ - "future", - "standard-library", - "third-party", - "first-party", - "local-folder", -] +section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"]