Using black, 21.12b0 (installed with pip3) on Ubuntu 20.04, integrated with this atom-editor package.
The 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 error before applying black, the pylint itself is showing multiple errors after formatting with this package. The main issues I am coming up with
Duplicating function or method definitions
Introducing random indents
Altering loop flow structures when I use break or continue
The problems are not occurring when I try to black a file via terminal command, but only when Atom does it, which makes me think the issue lies at the black integration with atom, rather than the implementation underneath. Attached is a summary of packages I have installed.
Using black, 21.12b0 (installed with pip3) on Ubuntu 20.04, integrated with this atom-editor package.
The 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 error before applying black, the pylint itself is showing multiple errors after formatting with this package. The main issues I am coming up with
The problems are not occurring when I try to black a file via terminal command, but only when Atom does it, which makes me think the issue lies at the black integration with atom, rather than the implementation underneath. Attached is a summary of packages I have installed.
packages.txt