Skip to content
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

[Feature request] Python code formatting option using black #145

Open
Minyus opened this issue Jun 4, 2022 · 0 comments
Open

[Feature request] Python code formatting option using black #145

Minyus opened this issue Jun 4, 2022 · 0 comments

Comments

@Minyus
Copy link

Minyus commented Jun 4, 2022

Thank you for this awesome tool!
For Python development, Python code formatting (using black) is a common practice to:

  • ensure readability
  • detect Python syntax error before running
  • save time for manual cosmetic formatting
  • keep the Git history clean (avoid functional and cosmetic modifications mixed in each commit)
  • keep each line short (88 characters per line using black in default)

It would be great if pyvim supports an option to run Python code formatting (upon saving by :w)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant