This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
Python Black is Messing Up Code #23369
Unanswered
barmanroys
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using black, 21.12b0 (installed with pip3) on Ubuntu 20.04, integrated with the atom 1.58.0 package.
This is the package I am using. https://atom.io/packages/python-black
The problem is, the black package seems to be messing up working code, introducing duplicate definitions of well defined functions and putting bracket opens and close at random places that are throwing error.
Even if pylint was showing only warning and no erro
packages.txt
r before applying black, the pylint itself is showing multiple errors after formatting with black.
I confirmed it is not an issue with black, but only when black is used as an Atom editor package. When I run black from my konsole, the problem does not happen.
I have added a list and version of packages I have installed in atom. Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions