PyCharm 2.7 Web Help

1.2+

File | Settings | Inspections

Ctrl+Alt+SCommand Comma

settings

PyCharm | Preferences | Inspections

Ctrl+Alt+SCommand Comma

settings

Use this page to enable or disable inspections and configure inspection profiles. The page is divided into the following areas:

Profiles Management

ItemDescription
ProfileFrom this drop-down list, select the name of the profile to configure. All modified inspections are highlighted.
Share profileSelect this check box to make the selected profile available for your team, i.e to make it the project-level profile. If you create IDE-level profile for your own purposes, make sure that this check box is cleared.
AddClick this button to create a new profile. The profile is created based on the Default profile, on the IDE level.
CopyClick this button to create a new profile with the specified name, based on the current profile.
DeleteClick this button to delete the current profile. The pre-defined profiles cannot be deleted.
ImportClick this button to import a profile from an xml file.
ExportClick this button to export the selected profile as an xml file.

Current Profile Toolbar

ItemShortcutDescription
expandAll.png Ctrl+Add Command Add or Ctrl+Equals Command Equals Click this button to have all inspection nodes expanded.
collapseAll.png Ctrl+Subtract Command Subtract or Ctrl+Minus Command Minus Click this button to have all inspection nodes collapsed.
resetProfileToDefault2 Ctrl+RCommand R Click this button to abandon the modifications and have the current profile reset to defaults.
resetProfile.gif Click this button to have all the check boxes of the profile cleared and thus disable all the profile inspections.
lock.gif Click this button to lock the current profile and prevent any changes to it if PyCharm is updated and new inspections appear. You can only change such profile manually.

Scopes Toolbar

ItemShortcutDescription
add.png InsertInsert Click this button to specify the scope for the selected inspection.

Note

If an inspection is enabled and no scope is specified for it, the inspection is applied to all project sources.

delete.png DeleteDelete Click this button to delete the selected scope for the current inspection.
arrowUp.png arrowDown.png Use these buttons to arrange the order of scopes for the selected inspection.

Search Area

ItemDescription
find1.gif Use this text box to search through the list of inspections. As you type a search string, the matching inspections are highlighted. To finalize the search, press EnterEnter. The used search strings are memorized in the history list.
clear.png Click this button to clear the search history.

Inspection Severity

ItemDescription
DescriptionThis read-only field shows the description of the selected inspection.
Options

Note

This area is only available when the check box next to the desired inspection is selected.

Use the controls in this area to configure the inspection severity, and the other options, if they are available.
  • Severity: from this drop-down list, select the desired severity to assign to the current inspection. The default options are:
    • As typo
    • As server problem
    • As info
    • As warning
    • As error
  • browseButton.png - click this button to open the Severities Editor dialog box, where you can change the color scheme of the selected severity, add and delete severity levels, and change their priority by re-arranging them in the list.
  • Additional options for individual inspections.

See Also

Concepts:

Procedures:

Reference:

Web Resources: