发布

  • DOCS: Enable subset of pydocstyle rules, bulk update ruff fixes (#3550)

    frostbyte_neo 发布于 2024-03-08 11:08:29 +00:00

    • D410: missing blank line after section

    • D200: docstring should fit on one line

    • D202: No blank lines allowed after function docstring

    • D413: missing blank line after last section

    • D212: Multi-line docstring sohuld start at the first line

    • D204: blank line after class docstring

    • D412: No blank lines allowed between a section header and its content

    • D411: blank line before section

    • D208: docstring over-indented

    • D300: use triple quotes

    • Backslashes

    • D209: closing quotes on separate line

    • D403: capitalise

    • D407: missing dashed underlines

    • D409: underlines

    • D210: No whitespace allowed surrounding docstring text

    • Enable subset of pydocstyle rules

    • Include D417 as aspiration

    • [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci

    • Minor fixups

    • Ignore pydocstyle in tests


    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    下载附件