Hi Team I am trying to deploy the code into new env facing issue because of black --check.
Best answer by Gaetan Helness 19 September 2022, 14:31
You can clone the repository and run
locally on your environment and push it to the remote repository
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
You should install the python package black via pip or poetry
pip install black
poetry install black
Did Gaetan’s answer help you?
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
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.