mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-10 10:47:49 +01:00
refactor(black): black 26 applied
This commit is contained in:
@@ -88,8 +88,7 @@ def test_client_generator_with_black_formatting():
|
||||
generator.generate_client(container)
|
||||
|
||||
# Format the expected output with black to ensure it matches the generator output
|
||||
expected_output = dedent(
|
||||
'''\
|
||||
expected_output = dedent('''\
|
||||
# This file was automatically generated by generate_cli.py
|
||||
# type: ignore
|
||||
|
||||
@@ -174,8 +173,7 @@ def test_client_generator_with_black_formatting():
|
||||
"""
|
||||
Set the amplitude of the waveform.
|
||||
"""
|
||||
'''
|
||||
)
|
||||
''')
|
||||
|
||||
expected_output_formatted = black.format_str(
|
||||
expected_output, mode=black.FileMode(line_length=100)
|
||||
|
||||
Reference in New Issue
Block a user