mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix RES102 (Remove unnecessary parentheses)
This commit is contained in:
@@ -1218,7 +1218,7 @@ def test_domain_cpp_build_with_add_function_parentheses_is_True(app, status, war
|
||||
res = re.search(pattern, text)
|
||||
if not res:
|
||||
print(f"Pattern\n\t{pattern}\nnot found in {file}")
|
||||
raise AssertionError()
|
||||
raise AssertionError
|
||||
rolePatterns = [
|
||||
('', 'Sphinx'),
|
||||
('', 'Sphinx::version'),
|
||||
@@ -1259,7 +1259,7 @@ def test_domain_cpp_build_with_add_function_parentheses_is_False(app, status, wa
|
||||
res = re.search(pattern, text)
|
||||
if not res:
|
||||
print(f"Pattern\n\t{pattern}\nnot found in {file}")
|
||||
raise AssertionError()
|
||||
raise AssertionError
|
||||
rolePatterns = [
|
||||
('', 'Sphinx'),
|
||||
('', 'Sphinx::version'),
|
||||
|
||||
Reference in New Issue
Block a user