Page MenuHomeDevCentral

Allow to use pre-commit on FreeBSD 14+
ClosedPublic

Authored by dereckson on Jun 30 2024, 23:53.
Tags
None
Referenced Files
F3585531: D3349.id8617.diff
Thu, Sep 19, 00:15
Unknown Object (File)
Fri, Sep 13, 08:43
Unknown Object (File)
Thu, Sep 12, 00:07
Unknown Object (File)
Thu, Sep 12, 00:07
Unknown Object (File)
Thu, Sep 12, 00:06
Unknown Object (File)
Thu, Sep 12, 00:05
Unknown Object (File)
Mon, Sep 2, 03:11
Unknown Object (File)
Mon, Aug 26, 20:30
Subscribers
None

Details

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

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jun 30 2024, 23:54
This revision was automatically updated to reflect the committed changes.