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

[Python] Failure during building and testing main branch #162

Closed
jpadilla opened this issue Aug 1, 2023 · 0 comments · Fixed by #163
Closed

[Python] Failure during building and testing main branch #162

jpadilla opened this issue Aug 1, 2023 · 0 comments · Fixed by #163
Labels
bug Something isn't working

Comments

@jpadilla
Copy link
Member

jpadilla commented Aug 1, 2023

Seems like pycodestyle v2.11.0 results in breaking autopep8. See hhatto/autopep8#689

Traceback (most recent call last):
  File "/usr/local/bin/autopep8", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 4528, in main
    results = fix_multiple_files(args.files, args, sys.stdout)
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 4423, in fix_multiple_files
    ret = _fix_file((name, options, output))
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 4393, in _fix_file
    return fix_file(*parameters)
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 3589, in fix_file
    fixed_source = fix_lines(fixed_source, options, filename=filename)
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 3569, in fix_lines
    fixed_source = fix.fix()
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 613, in fix
    self._fix_source(filter_results(source=''.join(self.source),
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 557, in _fix_source
    modified_lines = fix(result)
  File "/usr/local/lib/python3.10/site-packages/autopep8.py", line 761, in fix_e225
    pycodestyle.missing_whitespace_around_operator(fixed, ts))
AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator'. Did you mean: 'whitespace_around_operator'?
@jpadilla jpadilla added the bug Something isn't working label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant