summaryrefslogtreecommitdiff
path: root/sphinx/domains/cpp.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-31 17:52:51 +0100
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-31 17:52:51 +0100
commit15553da9c8a3a6668944ab5520a47c26096d670a (patch)
tree21f56d0e28c99433336328d836fd0fd8142e15fa /sphinx/domains/cpp.py
parentf019b89c0524b896d8f3b67e04e2ccd87a799822 (diff)
downloadsphinx-git-15553da9c8a3a6668944ab5520a47c26096d670a.tar.gz
Resolve lint errors from Ruff 0.0.260
Diffstat (limited to 'sphinx/domains/cpp.py')
-rw-r--r--sphinx/domains/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py
index 5047f9b28..a7d16aa06 100644
--- a/sphinx/domains/cpp.py
+++ b/sphinx/domains/cpp.py
@@ -5061,7 +5061,7 @@ class Symbol:
if parentSymbol.declaration is not None:
if parentSymbol.declaration.objectType == 'templateParam':
raise QualifiedSymbolIsTemplateParam()
- return None # NoQA: RET501,PLR1711
+ return None
try:
lookupResult = self._symbol_lookup(nestedName, templateDecls,