From a52eb300a275f04f0ac95ea56c8e32c3711ebcf8 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Sun, 14 Jul 2024 21:45:47 +0200 Subject: [PATCH] chore: enable flake8-pytest-style (pt) rule in ruff config --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 29144702f0..44cae49a16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -134,6 +134,7 @@ select = [ "F", # pyflakes "I", # isort "PGH", # pygrep-hooks + "PT", # flake8-pytest-style "RUF", # ruff "UP", # pyupgrade "W", # pycodestyle @@ -186,6 +187,10 @@ rest_framework = ["rest_framework"] "F821", # undefined-names ] +[tool.ruff.lint.flake8-pytest-style] +fixture-parentheses = false +parametrize-names-type = "csv" + [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "config.settings" testpaths = ["rdmo/*/tests"]