Optimize Imports Dialog
Note that this dialog box appears when you select a Optimize Imports action on the directory.
In this dialog box, specify where you want PyCharm to remove unused import statements from, in order to optimize the import procedure.
|Only VCS changed files||If this checkbox is selected, then reformatting will apply only to the files that have been changed locally, but not yet checked in to the repository. |
This checkbox is only available for the files under version control.