Samuel Marks

Results 339 comments of Samuel Marks

Yep I've been doing that for ages: https://github.com/offscale/cdd-python/blob/f64f886/cdd/source_transformer.py#L13-L27

How about this? ```python from astor import to_source from black import format_str, FileMode def astor_and_blacken(ast, filename, mode='a', skip_black=False): src = to_source(ast) if not skip_black: src = format_str(src, mode=FileMode( target_versions=set(), line_length=119,...

@m67hoff - Okay, I've: - removed routing; - removed extra module; - added missing CSS & scripts; - imported `MdToolbarModule` … and called out—@jelbourn—the maintainer for review. EDIT: Just updated...

Can we merge this?

Add tests; coverage decreases LOL: that didn't go as expected!

@gazpachoking Decided to update this after 3 years…

I'm still looking. Might just develop my own 😞

+1 as per http://stackoverflow.com/a/31088492

@EmGarr I built my own parsers for all 3 docstring formats, classes, functions, and argparse-parsers. ```py $ ipython Python 3.8.7 (default, Dec 30 2020, 22:35:32) Type 'copyright', 'credits' or 'license'...

@LostInDarkMath FYI - My parser supports proper type parsing for ReST. Still in alpha - https://github.com/SamuelMarks/doctrans