pyment icon indicating copy to clipboard operation
pyment copied to clipboard

Format and convert Python docstrings and generates patches

Results 50 pyment issues
Sort by recently updated
recently updated
newest added

A simple function that has no prior docstring has broken docstring when used with pyment. ![image](https://user-images.githubusercontent.com/68163698/176200338-09181f0b-a59c-4041-a71b-805e6a3ce91b.png) Command used: `pyment -w -o numpydoc [filename]` Have I done something wrong as this...

Hi there, As Python 2.7 has reached [end of life last year](https://www.python.org/doc/sunset-python-2/), I plan to stop supporting running Pyment using it in next release v0.4.0 in few days. And furthermore,...

https://pypi.org/project/sphinx-autodoc-typehints/ Instead of ```python def format_unit(value, unit): """ Formats the given value as a human readable string using the given units. :param float|int value: a numeric value :param str unit:...

- makes Google indentation 4 spaces (with the option to change it on the cli or for any other output format style) - adds the ability to skip adding empty...

### Edit: It seems this has been fixed in this repo, but on the version from PyPi does not include this fix. I was able to install from source to...

I saw #43 and I can update the code to consider some flag as per your suggestion

Fixes #83. pyment was generating output with invalid indentation when all of the following conditions were met: - ignore_private is `True` (the default on the command line) - a class...

There are small typos in: - example.py - pyment/docstring.py - pyment/pyment.py - tests/issue88.py - tests/origin_test.py - tests/test_app.py Fixes: - Should read `triggered` rather than `trigged`. - Should read `some` rather...

- Split code into multiple files - Unit tests: use `pytest` instead of `unittest` - Make code a bit more python idiomatic (for example in `isin_alone`, `isin_start`, ...)