Skip to content

Add formatter for ssort #18521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
egelja opened this issue Feb 14, 2022 · 1 comment
Closed

Add formatter for ssort #18521

egelja opened this issue Feb 14, 2022 · 1 comment
Assignees
Labels
area-formatting feature-request Request for new features or functionality

Comments

@egelja
Copy link

egelja commented Feb 14, 2022

A new Python formatter, ssort, has recently be released. The special thing about this one is that is reorganizes source code, not just whitespace/line length/etc. Would it be possible to add this as a formatter, along with black, AutoPEP8, and YAPF?

Note: From the README, ssort has to run before black or isort.


Thank you very much!

@egelja egelja added triage-needed Needs assignment to the proper sub-team feature-request Request for new features or functionality labels Feb 14, 2022
@karthiknadig karthiknadig self-assigned this Feb 15, 2022
@karthiknadig karthiknadig added area-formatting triage and removed triage-needed Needs assignment to the proper sub-team labels Feb 15, 2022
@karthiknadig
Copy link
Member

@MrAwesomeRocks We have plans of separating tooling like formatting and linting into their own extension. See #18469 . As a part of this work, we plan on providing an extension template that tool authors can use to build VS Code extensions for their tools. We just posted about a prototype for this on black see here psf/black#2883, and autopep8 here hhatto/autopep8#624. Please do watch for our blogs, we will share information on how to create your own extension for formatting using our extension templates.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-formatting feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants