Skip to content

Commit a8d0ce7

Browse files
committed
Add test
1 parent 8f315a1 commit a8d0ce7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/__init__.py

Whitespace-only changes.

tests/ruff.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
"SLF001", # Tests will access private/protected members...
11+
"TCH002", # pytest doesn't like this one...
12+
]

0 commit comments

Comments
 (0)