全部搜尋項
bookworm  ] [  sid  ]
[ 原始碼: python-docformatter  ]

套件:python3-docformatter(1.7.5-1)

python3-docformatter 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 python-docformatter

維護小組:

外部的資源:

相似套件:

Formats docstrings to follow Python PEP 257 (Python 3)

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 installs the library for Python 3.

其他與 python3-docformatter 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-docformatter

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 27。8 kB130。0 kB [檔案列表]