Skip to content

Commit 15ecbba

Browse files
style: revert dedent block to flat form for black 26.1.0
My earlier local format pass used black 24.10.0 which expanded ``dedent(f"""...""")`` to a multi-line form; CI's ``tomte[black]==0.7.0`` pins black 26.1.0 which prefers the flat form. Restore the pre-existing main-branch formatting so ``tox -e black-check`` passes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 96b1785 commit 15ecbba

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_skills/test_base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,8 +1215,7 @@ class TestSkillLoadingWarningMessages(BaseAEATestCase):
12151215
_TEST_BEHAVIOUR_CLASS_NAME = "TestBehaviour"
12161216

12171217
_test_skill_module_path = "skill_module_for_testing.py"
1218-
_test_skill_module_content = dedent(
1219-
f"""
1218+
_test_skill_module_content = dedent(f"""
12201219
from aea.skills.base import Behaviour, Handler
12211220
12221221
class {_TEST_HANDLER_CLASS_NAME}(Handler):
@@ -1240,8 +1239,7 @@ def act(self):
12401239
pass
12411240
def teardown(self):
12421241
pass
1243-
"""
1244-
)
1242+
""")
12451243

12461244
@classmethod
12471245
def setup_class(cls):

0 commit comments

Comments
 (0)