We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e16a7f + b8f2a1e commit cb9c124Copy full SHA for cb9c124
1 file changed
pyproject.toml
@@ -100,8 +100,11 @@ load-plugins = ["pylint_pydantic"]
100
init-hook = "import sys; sys.path.append('.')"
101
102
[tool.ruff]
103
-[tool.ruff.lint.flake8-tidy-imports]
104
-banned-api = { "unittest" = { msg = "use pytest instead of unittest" }, "unittest.mock" = { msg = "use pytest-mock instead of unittest.mock" } }
+[tool.ruff.lint]
+extend-select = ["TID251"]
105
+[tool.ruff.lint.flake8-tidy-imports.banned-api]
106
+unittest = { msg = "use pytest instead of unittest" }
107
+"unittest.mock" = { msg = "use pytest-mock instead of unittest.mock" }
108
109
[build-system]
110
requires = ["hatchling"]
0 commit comments