hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.56k stars 288 forks source link

Some E265 errors won't be fixed #662

Closed jmatsuzawa closed 1 year ago

jmatsuzawa commented 1 year ago

Python Code

#print(" ")

Command Line and Configuration

Config: N/A

Command Line

$ autopep8 --diff --select=E265 foo.py

Your Environment

The following environment has the same issue:

Extra Information

The following code can be fixed (without a space between quotes):

#print("")
% autopep8 --diff --select=E265 foo.py
--- original/foo.py
+++ fixed/foo.py
@@ -1 +1 @@
-#print("")
+# print("")
hhatto commented 1 year ago

Thanks for reporting.

This problem has been fixed in version 2.0.1. Please use the latest version.