You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the example below: when there are multiple #autopep8: off/on blocks in a file, they do not seem to be respected anymore. Enclosing both lists within just one such block works correctly.
Python Code
# autopep8: off
myneatlist=[
("foo", 1,),
("bar", 2,),
("foobar", 3,),
]
# autopep8: on
# autopep8: off
myneatlist2=[
("foo", 1,),
("bar", 2,),
("foobar", 3,),
]
# autopep8: on
Configuration
.pep8:
[pycodestyle]
max_line_length = 175
#E302 - Add missing 2 blank lines.
#E305 - Expected 2 blank lines after end of function or class.
#E701 - Put colon-separated compound statement on separate lines.
ignore = E302, E305, E701
Python version: 3.9.2
autopep8 version: 1.5.7
Platform: Windows 10, using autopep8 via VS code
The text was updated successfully, but these errors were encountered:
See the example below: when there are multiple #autopep8: off/on blocks in a file, they do not seem to be respected anymore. Enclosing both lists within just one such block works correctly.
Python Code
Configuration
.pep8
:The text was updated successfully, but these errors were encountered: