Solved

AIR deployment issue due to black

  • 16 August 2022
  • 3 replies
  • 43 views

Userlevel 1

I am getting error for black while deploying code to AIR. Please find attached screenshot for reference. So in turn code standards are getting failed after pushing the same changes in AIR.

icon

Best answer by Ankita Mane 17 August 2022, 14:01

View original

3 replies

Userlevel 4

Hei hei this should be resolved with a simple poetry update click . This should update click to the latest version which should fix this issue.

Userlevel 1

I have tried with click update. Also click version(package details) is mentioned in poetry.lock file with reference file and it’s hash value. Can u please suggest all changes in lock file as well. 
 

poetry.lock
 

 

Userlevel 1

Hi Arun...Issue got solved by updating .pre-commit-config.yaml by below commands:

> pre-commit clean

> pre-commit autoupdate

Reply