Skip to main content
Gaetan  Helness
MVP ⭐️⭐️⭐️⭐️⭐️
Sep 19, 2022 12:31 PM UTC

You should install the python package black via pip or poetry

pip install black

or

poetry install black

5 replies

Gaetan  Helness
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
Sep 16, 2022 8:20 AM UTC

You can clone the repository and run

black .

locally on your environment and push it to the remote repository

Seasoned ⭐️⭐️⭐️
Sep 16, 2022 9:18 AM UTC

Black is failing on Github and for local Poetry install is giving issue in Fiona 1.8.21 installation. 

So when I run black . It is giving Error.PS C:\Users\r.dhande.dhande\Downloads\Air Depployment\accenture-cpg-demo-2> black .
black : The term 'black' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of 
 



 

Gaetan  Helness
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
Sep 19, 2022 12:31 PM UTC

You should install the python package black via pip or poetry

pip install black

or

poetry install black

Expert ⭐️⭐️⭐️⭐️
Sep 26, 2022 6:51 AM UTC

Hi Rushikesh,

Did Gaetan’s answer help you? 

 

Seasoned ⭐️⭐️⭐️
Oct 4, 2022 7:56 AM UTC

Hi @Carin Meems  and @Gaetan Helness 

I install the black few days using pip install black.

Also executing the python -m black handler.py which is reformatting my file as per standards and also it is able to clear the Check Code Standard step in deployment process.

Thanks for the suggestion