From 052d03fcdbb37760c160db4d7a89b1a8b94a44f1 Mon Sep 17 00:00:00 2001 From: Pavel Lonkin Date: Mon, 19 Jan 2026 18:46:04 +0100 Subject: [PATCH] MPT-17125 Fix failure for dependabot in pyproject file - incorrect flake8-import-conventions --- pyproject.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 382e596..6d9b915 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -229,11 +229,18 @@ ignore = [ external = [ "AAA", "WPS" ] # Plugin configs: -flake8-import-conventions.banned-from = [ "datetime" ] -flake8-import-conventions.aliases = { datetime = "dt" } -flake8-quotes.inline-quotes = "double" -mccabe.max-complexity = 6 -pydocstyle.convention = "google" +[tool.ruff.lint.flake8-import-conventions] +banned-from = ["ast", "datetime"] +aliases = { datetime = "dt" } + +[tool.ruff.lint.flake8-quotes] +inline-quotes = "double" + +[tool.ruff.lint.mccabe] +max-complexity = 6 + +[tool.ruff.lint.pydocstyle] +convention = "google" [tool.ruff.lint.per-file-ignores] "tests/*.py" = [