Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-docformatter-1.7.5-1.1 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python311-docformatter Distribution: openSUSE:Factory:zSystems
Version: 1.7.5 Vendor: openSUSE
Release: 1.1 Build date: Fri Nov 29 01:00:01 2024
Group: Unspecified Build host: reproducible
Size: 243761 Source RPM: python-docformatter-1.7.5-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/myint/docformatter
Summary: Utility to re-format docstrings per PEP 257
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.
- The BDFL recommends inserting a blank line between the last paragraph
  in a multi-line docstring and its closing quotes, placing 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.

Provides

Requires

License

MIT

Changelog

* Fri Nov 29 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 1.7.5:
    * Features
      + fix: not recognizing `yield` as a sphinx field name
      + feat: support epytext style
      + feat: use tomllib for Python 3.11+
      + feat: wrap Sphinx style long parameter descriptions
      + feat: add option for user to provide list of words not to capitalize
      + Support python 3.11
    * Bug Fixes
      + fix: summary with back ticks and sphinx field names with periods
      + fix: removing newline between Sphinx field lists
      + fix: wrapping issues with reST directives, quoted URLs, and Sphinx
      field lists
      + fix: improper wrapping of short anonymous hyperlnks
      + fix: removing blank line after import section
      + fix: IndexError when only URL in long description
      + fix: removing newline after shebang
      + fix: not capitalizing first word when summary ends in period
      + fix: adding newlines around wrapped URL
      + fix: adding blank line in summary with symbol
      + fix: remove blank lines after line beginning with 'def'
      + fix: update URL handling functions
  - Switch to autosetup and pyproject macros.
  - No more greedy globs in %files.
  - Add patches:
    * remove-mock.patch
      + Do not use external mock module
    * support-python-312.patch
      + Support Python 3.12+ changes
    * do-not-require-venv.patch
      + Do not require a virtualenv to run the testsuite
* Thu May 20 2021 pgajdos@suse.com
  - version update to 1.4
    * Add --docstring-length flag
    * Not add period for summary formatted as title
    * Added command line exclude option
  - use %pytest macro
* Tue May 26 2020 Petr Gajdos <pgajdos@suse.com>
  - %python3_only -> %python_alternative
* Thu Apr 02 2020 Marketa Calabkova <mcalabkova@suse.com>
  - update to 1.3.1
    * A pydoc reference such as ':see:' should not be start of sentence
* Fri Jul 26 2019 pgajdos@suse.com
  - version update to 1.3
    * no upstream changelog
* Fri Mar 08 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.1:
    * fixes for python 3.7
    * varioius cleanups
* Tue Dec 04 2018 Matej Cepl <mcepl@suse.com>
  - Remove superfluous devel dependency for noarch package
* Sun Jul 29 2018 jengelh@inai.de
  - Use noun phrase in summary.
* Thu May 24 2018 toddrme2178@gmail.com
  - Update to version 1.0
    * Document and test disabling of wrapping
    * Add @kapsh
    * Make text wrapping trigger more conservative
    * Adds support for argument lists
  - Spec file cleanups
* Tue Nov 07 2017 toddrme2178@gmail.com
  - initial version

Files

/etc/alternatives/docformatter
/usr/bin/docformatter
/usr/bin/docformatter-3.11
/usr/lib/python3.11/site-packages/docformatter
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/AUTHORS.rst
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/LICENSE
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/METADATA
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/RECORD
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/WHEEL
/usr/lib/python3.11/site-packages/docformatter-1.7.5.dist-info/entry_points.txt
/usr/lib/python3.11/site-packages/docformatter/__init__.py
/usr/lib/python3.11/site-packages/docformatter/__main__.py
/usr/lib/python3.11/site-packages/docformatter/__pkginfo__.py
/usr/lib/python3.11/site-packages/docformatter/__pycache__
/usr/lib/python3.11/site-packages/docformatter/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/__main__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/__main__.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/__pkginfo__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/__pkginfo__.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/configuration.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/configuration.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/encode.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/encode.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/format.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/format.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/strings.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/strings.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/syntax.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/syntax.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/util.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/docformatter/__pycache__/util.cpython-311.pyc
/usr/lib/python3.11/site-packages/docformatter/configuration.py
/usr/lib/python3.11/site-packages/docformatter/encode.py
/usr/lib/python3.11/site-packages/docformatter/format.py
/usr/lib/python3.11/site-packages/docformatter/strings.py
/usr/lib/python3.11/site-packages/docformatter/syntax.py
/usr/lib/python3.11/site-packages/docformatter/util.py
/usr/share/doc/packages/python311-docformatter
/usr/share/doc/packages/python311-docformatter/AUTHORS.rst
/usr/share/doc/packages/python311-docformatter/README.rst
/usr/share/licenses/python311-docformatter
/usr/share/licenses/python311-docformatter/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jan 14 23:24:16 2025