From 2322162770c65af15794e62983c06304dd660226 Mon Sep 17 00:00:00 2001 From: Damian Shaw Date: Thu, 1 Aug 2024 10:49:48 -0400 Subject: [PATCH 1/2] Enable isort --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6dfb51d..9e56469 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,10 +80,11 @@ name = 'Trivial Changes' showcontent = false [tool.ruff] +src = ["src"] line-length = 88 [tool.ruff.lint] -select = ["C","E","F","W","B","RUF","PLE","PLW"] +select = ["C","E","F","W","B","RUF","PLE","PLW","I"] ignore = ["PLW2901"] exclude = [ ".git", @@ -96,9 +97,6 @@ exclude = [ "*.pyi" ] -[tool.ruff.lint.isort] -known-first-party = ["resolvelib"] - [tool.mypy] warn_unused_configs = true From 37b8b82d5e332baf37b011a6455deb0aeca0518e Mon Sep 17 00:00:00 2001 From: Damian Shaw Date: Thu, 1 Aug 2024 18:58:27 -0400 Subject: [PATCH 2/2] News entry --- news/165.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/165.bugfix diff --git a/news/165.bugfix b/news/165.bugfix new file mode 100644 index 0000000..8bed020 --- /dev/null +++ b/news/165.bugfix @@ -0,0 +1 @@ +Enable isorting via ruff