Cleaning up unused imports in Python with autoflake using a VS Code task
python, vs code, autoflake, task, import

Add the following script to tasks.json
tasks.jsonvsconfig="$HOME/Library/Application Support/Code/User"
open $vsconfig/tasks.json
Trigger the cleanup process with a shortcut like $⇧⌥P$ in keybindings.json
keybindings.json
MindEase Theme
Automatically run on save from settings.json
settings.json
PreviousBy, with, via karsilastirmasi (by vs with vs via)NextConverting Instagram saved_collections.json file to csv file and importing it t
Last updated
Was this helpful?