Azure / autorest.az

Azure CLI Code Generator
MIT License
22 stars 20 forks source link

Code style error. PEP8: two many blank lines (2) #781

Closed qwordy closed 3 years ago

qwordy commented 3 years ago

Generated code has a code style error. PEP8: two many blank lines (2) Version: autorest-az-1.7.3.tgz

# Test class for Scenario
@try_manual
class Cloud_serviceScenarioTest(ScenarioTest):

    def __init__(self, *args, **kwargs):
        super(Cloud_serviceScenarioTest, self).__init__(*args, **kwargs)
        self.kwargs.update({
            'subscription_id': self.get_subscription_id()
        })

        self.kwargs.update({
            'myCloudService': '{cs-name}',
        })

    @ResourceGroupPreparer(name_prefix='clitestcloud_service_ConstosoRG'[:7], key='rg', parameter_name='rg')
    def test_cloud_service_Scenario(self, rg):
        call_scenario(self, rg)
        calc_coverage(__file__)
        raise_if()
changlong-liu commented 3 years ago

fixed in master, you can use latest tag release if urgent