plugin-python icon indicating copy to clipboard operation
plugin-python copied to clipboard

Prettier Python Plugin

Results 19 plugin-python issues
Sort by recently updated
recently updated
newest added

I've been trying running prettier on the [django](https://github.com/django/django) codebase and I noticed that they use single quotes for almost all the strings and double quotes for the docstrings, which seems...

enhancement
good first issue
style

hi guys, great work! i just ran the prettier on one of my projects and i got some bugs, all of the above happen in python 2.7 1.on slice notation,...

When I try to use it with following configuration, it throws `TypeError: Cannot read property 'toString' of null` ``` prettier.format("print('Hello, world!')", { parser: 'python', plugins: ['@prettier/plugin-python'], }); ```

question

[PEP 448](https://www.python.org/dev/peps/pep-0448/) dictionary spreading creates invalid syntax ``` x = {} merged = {**x} ``` becomes ``` x = {} merged = {: x} ``` using git master version of...

bug

this is hand-tuned, yapf/pep8 don't really care about any of that (they pass-through, it seems): ```python def fetch(content, prefix): return { 'parts': pipe(parse('$..layers').find(content), mapcat(lambda m: m.value), filter(lambda v: v['exportOptions']['exportFormats']), filter(lambda...

Currently the test suite covers several python3 language features that did not exist pre-3.6. So running `yarn test` on a system with python 3.4, for example, you get several tests...

See #70 and #1 This is not enabled yet as it the build will fail :)

This plugin stuff looks great! I don't have a concrete proposal here, yet, but I'd like to raise a point about how integration should look. As a Python user, ideally...