Use this dialog box to define the scope to apply inspection to and the profile against which the source code should be inspected.

Item Description
Whole project Select this option to perform analysis for the whole project.
File <name> Select this option to have PyCharm analyze the file that is currently selected in the Project tool window or opened in the editor.
Directory <name> Select this option to have PyCharm analyze the folder that is currently selected in the Project tool window.
Uncommitted files Select this option to have PyCharm analyze only files that have not been committed to the version control system. Use the drop-down list to further limit the analysis scope. The available options are:
  • All - select this option to have files from all changelists analyzed.
  • Default - select this option to have PyCharm analyze only files from the Default changelist.
Custom scope Select this option to define a custom scope to apply analysis to. Choose a pre-defined scope from the drop-down list or click the Browse button browseButton and define a custom scope using the Scopes dialog box.

Use a special language to define a scope.

Include test sourcesSelect this check box to perform analysis on the test sources.

See Also

Web Resources: