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
For some reason, it looks like the functionality added in #557, to enable blocks of code to be selectively skipped during an autopep8 run, only works if those directives appear a single time in a file. If they appear two or more times, the skip functionality is completely disabled for all instances.
This is, needless to say, somewhat problematic when it comes to actually using this feature. (and it would definitely be a nice to use feature, for code that needs large data tables where you want a human to have any hope whatsoever of being able to look at a table be able to understand anything about it)
For some reason, it looks like the functionality added in #557, to enable blocks of code to be selectively skipped during an autopep8 run, only works if those directives appear a single time in a file. If they appear two or more times, the skip functionality is completely disabled for all instances.
For example, this works as you'd expect:
But, if you instead use this input file:
... then both blocks get reformatted:
This is, needless to say, somewhat problematic when it comes to actually using this feature. (and it would definitely be a nice to use feature, for code that needs large data tables where you want a human to have any hope whatsoever of being able to look at a table be able to understand anything about it)
Environment
The text was updated successfully, but these errors were encountered: