@@ -505,7 +505,6 @@ def test_scope_local() -> None:
505505 assert internal_control_keys == ['0:0:a' , '0:1:a' , '1:0:a' , '1:1:a' ]
506506 assert not cirq .control_keys (outer_subcircuit )
507507 assert not cirq .control_keys (circuit )
508- # pylint: disable=line-too-long
509508 cirq .testing .assert_has_diagram (
510509 cirq .Circuit (outer_subcircuit ),
511510 """
@@ -515,7 +514,6 @@ def test_scope_local() -> None:
515514""" , # noqa: E501
516515 use_unicode_characters = True ,
517516 )
518- # pylint: enable=line-too-long
519517 cirq .testing .assert_has_diagram (
520518 circuit ,
521519 """
@@ -659,7 +657,6 @@ def test_scope_extern() -> None:
659657 assert internal_control_keys == ['0:b' , '0:b' , '1:b' , '1:b' ]
660658 assert not cirq .control_keys (outer_subcircuit )
661659 assert not cirq .control_keys (circuit )
662- # pylint: disable=line-too-long
663660 cirq .testing .assert_has_diagram (
664661 cirq .Circuit (outer_subcircuit ),
665662 """
@@ -671,7 +668,6 @@ def test_scope_extern() -> None:
671668""" , # noqa: E501
672669 use_unicode_characters = True ,
673670 )
674- # pylint: enable=line-too-long
675671 cirq .testing .assert_has_diagram (
676672 circuit ,
677673 """
@@ -780,7 +776,6 @@ def test_scope_extern_mismatch() -> None:
780776 assert internal_control_keys == ['b' , 'b' , 'b' , 'b' ]
781777 assert cirq .control_keys (outer_subcircuit ) == {cirq .MeasurementKey ('b' )}
782778 assert cirq .control_keys (circuit ) == {cirq .MeasurementKey ('b' )}
783- # pylint: disable=line-too-long
784779 cirq .testing .assert_has_diagram (
785780 cirq .Circuit (outer_subcircuit ),
786781 """
@@ -794,7 +789,6 @@ def test_scope_extern_mismatch() -> None:
794789""" , # noqa: E501
795790 use_unicode_characters = True ,
796791 )
797- # pylint: enable=line-too-long
798792 cirq .testing .assert_has_diagram (
799793 circuit ,
800794 """
@@ -984,7 +978,6 @@ def test_sympy_scope() -> None:
984978 use_unicode_characters = True ,
985979 )
986980
987- # pylint: disable=line-too-long
988981 cirq .testing .assert_has_diagram (
989982 circuit ,
990983 """
@@ -1000,7 +993,6 @@ def test_sympy_scope() -> None:
1000993""" , # noqa: E501
1001994 use_unicode_characters = True ,
1002995 )
1003- # pylint: enable=line-too-long
1004996
1005997
1006998def test_sympy_scope_simulation () -> None :
0 commit comments