HomeDevCentral

Allow to use pre-commit on FreeBSD 14+

Description

Allow to use pre-commit on FreeBSD 14+

Summary:
The pre-commit out-of-the-box hooks have in dependencies ruamel.yaml.clib.
This library doesn't compile correctly under clang 16+.

The language: system allows to use current Python interpreter
instead of creating a new virtualenv for the pre-commit tool.

That allows to create ourselves a virtual environment to install correctly
the ruamel.yaml.clib library, and make pre-commit use it.

Test Plan: pre-commit

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3349

Details

Provenance
derecksonAuthored on Jun 30 2024, 23:43
derecksonPushed on Jun 30 2024, 23:54
Reviewer
dereckson
Differential Revision
D3349: Allow to use pre-commit on FreeBSD 14+
Parents
rOPS36ea38888775: Bump pre-commit hooks
Branches
Unknown
Tags
Unknown