Skip to content

Commit 0e93cf7

Browse files
adamtheturtleclaude
andcommitted
Suppress pylint no-self-use for test files
Test methods are organized in classes for structure but may not reference self when using decorators like @respx.mock. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fbff605 commit 0e93cf7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ lint.pydocstyle.convention = "google"
246246
"docs/source/conf.py:invalid-name",
247247
"docs/source/doccmd_*.py:invalid-name",
248248
"doccmd_README_rst_*.py:invalid-name",
249+
"tests/*.py:no-self-use",
249250
]
250251
# Spelling dictionary name. Available dictionaries: none. To make it working
251252
# install python-enchant package.

0 commit comments

Comments
 (0)