Skip to content

Commit

Permalink
chore: enable flake8-pytest-style (pt) rule in ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Jul 16, 2024
1 parent 88e3afc commit a52eb30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ select = [
"F", # pyflakes
"I", # isort
"PGH", # pygrep-hooks
"PT", # flake8-pytest-style
"RUF", # ruff
"UP", # pyupgrade
"W", # pycodestyle
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit a52eb30

Please sign in to comment.