Zac-HD / shed

`shed` canonicalises Python code. Shed your legacy, stop bikeshedding, and move on. Black++
https://pypi.org/project/shed/
GNU Affero General Public License v3.0
342 stars 23 forks source link

`# isort: skip_file` should not skip formatting #32

Closed Zac-HD closed 2 years ago

Zac-HD commented 2 years ago
# isort: skip_file
import json

1+2# should have spaces added

Isort skips the file by raising a special FileSkipComment exception, which shed needs to catch - currently this simple example triggers an internal error and doesn't format the file.