aiidateam / aiida-core

The official repository for the AiiDA code
https://aiida-core.readthedocs.io
Other
413 stars 184 forks source link

Devops: Install from abstract dependencies for pre-commit CI #6368

Closed sphuber closed 2 months ago

sphuber commented 2 months ago

Fixes #6366

The workflow running pre-commit was installing from the requirements before installing pip install .[pre-commit]. The install from the requirements file was added because some hooks would fail due to import errors. The proper solution is simply to install all extras whose dependencies are imported during pre-commit checks.