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

Add automatic code formatting #167

Closed
zhiltsov-max opened this issue Mar 16, 2021 · 2 comments · Fixed by #682
Closed

Add automatic code formatting #167

zhiltsov-max opened this issue Mar 16, 2021 · 2 comments · Fixed by #682

Comments

@zhiltsov-max
Copy link
Contributor

No description provided.

@zhiltsov-max zhiltsov-max changed the title Add automatic code formatting and linting Add automatic code formatting Aug 9, 2021
@zhiltsov-max
Copy link
Contributor Author

Linting was added in #331

@zhiltsov-max
Copy link
Contributor Author

Tried Black - it produced more or less good results. However, it significantly increased the number of lines, ~1.5x. It also has little options (by design), and there are many things I'd like to configure.

Tried autopep8 - it produced unreadable code with 2-2.5x extra lines. I don't like this solution.

From the famous ones, there is also YAPF. It has many options, but I didn't check it.

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

Successfully merging a pull request may close this issue.

1 participant