alla flaggor
sid  ]
[ Källkod: python-docformatter  ]

Paket: python-docformatter-doc (1.7.5-1)

Länkar för python-docformatter-doc

Screenshot

Debianresurser:

Hämta källkodspaketet python-docformatter:

Ansvariga:

Externa resurser:

Liknande paket:

Formats docstrings to follow Python PEP 257 (Documentation)

Docformatter currently automatically formats docstrings to follow a subset of the PEP 257 conventions.

Below are the relevant items quoted from PEP 257:

 * For consistency, always use triple double quotes around docstrings,
 * Triple quotes are used even though the string fits on one line,
 * Multi-line docstrings consist of a summary line just like a one-line
   docstring, followed by a blank line, followed by a more elaborate
   description,
 * Unless the entire docstring fits on a line, place the closing quotes on
   a line by themselves.

Docformatter also handles some of the PEP 8 conventions:

  * Don't write string literals that rely on significant trailing whitespace
    Such trailing whitespace is visually indistinguishable and some editors
    (or more recently, reindent.py) will trim them.

This package contains the documentation.

Andra paket besläktade med python-docformatter-doc

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python-docformatter-doc

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 223,1 kbyte448,0 kbyte [filförteckning]