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'?
Seems like pycodestyle v2.11.0 results in breaking autopep8. See https://github.com/hhatto/autopep8/issues/689