PyCharm Help

Python Integrated Tools

File | Settings | Python Integrated Tools
Ctrl+Alt+S
settings

Use this page to configure requirements management file, default test runner, and documentation strings treatment.

ItemDescription
Package requirements fileType the name of the requirements file, or click the browse button, and select the desired requirements file from file system using the Select Path dialog.
Default test runnerSelect the test run/debug configuration that PyCharm will suggest every time you choose Run on the context menu of a test case. Refer to the section Testing Frameworks for details.
Docstring formatSelect the format of the documentation strings to be recognized by PyCharm.

Depending on the selected docstring format, PyCharm will generate the stub documentation comments and render text in the Quick Documentation lookup:

  • Plain: on pressing Enter after opening quotes, an empty stub is generated; quick documentation shows as plain text.
  • reStructuredText: on pressing Enter after opening quotes, stub doc comment is generated according to reStructuredText format; the quick documentation is rendered by Sphinx.
  • Epytext: on pressing Enter after opening quotes, stub doc comment is generated according to the epytext format; quick documentation is rendered by epydoc.
Analyze Python code in docstringsIf this check box is selected, PyCharm highlights the code example and performs syntax checks and code inspections.
If this check box is not selected, the code fragments inside docstrings are not analyzed.
Sphinx working directorySpecify here the path to the directory that contains *.rst files.
Treat *.txt files as reStructuredTextIf this check box is selected, the files with *.txt extension will be highlighted same way, as the files with *.rst extension.

See Also

Last modified: 15 May 2015