Requirements are installed even if not needed to run the job

Description

Most of the python jobs start by calling the install_requirements() function which will download and install all application dependencies. This operation can be very time and resource consuming, and sometimes done simultaneously by multiple jobs in parallel. However for some jobs those dependencies are not needed to execute the job itself, for instance:

  • py-lint
  • py-bandit
  • py-black
  • py-isort
  • maybe others?

We could save time and resources by not installing dependencies for those jobs

Implementation ideas

Just remove the call to install_requirements() for those jobs

Edited by David Faure