Skip to content

Commit 16bc9a9

Browse files
committed
Allow asserts in docs
1 parent 4e1d021 commit 16bc9a9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,13 @@ lint.ignore = [
127127
"PLR0913",
128128
]
129129

130+
lint.per-file-ignores."docs/source/*.py" = [
131+
# Allow asserts in docs.
132+
"S101",
133+
]
134+
130135
lint.per-file-ignores."tests/*.py" = [
131-
# Do not require tests to have a one-line summary.
136+
# Allow asserts in tests.
132137
"S101",
133138
]
134139

0 commit comments

Comments
 (0)