Skip to content

Commit 3c0cff3

Browse files
committed
Initial project setup
1 parent 2750253 commit 3c0cff3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

tests/ruff.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This extend our general Ruff rules specifically for tests
2+
extend = "../pyproject.toml"
3+
4+
extend-select = [
5+
"PT", # Use @pytest.fixture without parentheses
6+
]
7+
8+
extend-ignore = [
9+
"S101", # Use of assert detected. As these are tests...
10+
"S106", # Detection of passwords...
11+
"SLF001", # Tests will access private/protected members...
12+
"TCH002", # pytest doesn't like this one...
13+
]

0 commit comments

Comments
 (0)