Skip to content

Commit 57088cc

Browse files
committed
Create test specific ruff.toml that extends ruff linting rules
1 parent a5bad4b commit 57088cc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/ruff.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Extend the `pyproject.toml` file in the parent directory.
2+
extend = "../pyproject.toml"
3+
4+
# And extend linting to include pytest specific rules and configuration
5+
[lint]
6+
extend-select = ["PT"]
7+
ignore = ["PT004", "PT011"]
8+
9+
[lint.flake8-pytest-style]
10+
mark-parentheses = false
11+
fixture-parentheses = false
12+
parametrize-names-type = "csv"
13+
parametrize-values-type = "list"
14+
parametrize-values-row-type = "tuple"

0 commit comments

Comments
 (0)