From 1c478fe959ee2b975ae75ba7d0432d8af22375d8 Mon Sep 17 00:00:00 2001 From: Francesco Ballarin Date: Fri, 5 Jan 2024 09:35:19 +0100 Subject: [PATCH] Add empty [tool.pytest.ini_options] to pyproject.toml to ensure that pytest determines rootdir correctly while running tests --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index accbc58..14a9a5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,8 @@ module = [ ] ignore_missing_imports = true +[tool.pytest.ini_options] + [tool.ruff] line-length = 120 select = ["ANN", "D", "E", "F", "ICN", "N", "Q", "RUF", "W"]