Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autopep8 pending when ignore E303 #399

Closed
willdonggg opened this issue Apr 21, 2018 · 1 comment
Closed

autopep8 pending when ignore E303 #399

willdonggg opened this issue Apr 21, 2018 · 1 comment
Labels

Comments

@willdonggg
Copy link

when use autopep8 format the code below with '--ignore E303', the process will be pending and cpu usage will increase to 100%

# define move function
def move_right():
    print('move left')
    return
# define star function

def star():
    print('step1: choose one paper')
    print('step2: xxxx')
    print('step3: xxxx')
    print('step4: xxxx')
    print('step5: xxxx')
    print('step6: xxxx')
    return



# move to right place
move_right()
move_right()

# finish star
star()
star()

autopep8 version: 1.3.5
python version:3.6.3
os: CentOS 6.8 or macOS Sierra 10.12.6

@hhatto
Copy link
Owner

hhatto commented Aug 30, 2018

fixed in latest master branch.

Thanks

@hhatto hhatto closed this as completed Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants