Page MenuHomeDevCentral

Allow to use pre-commit on FreeBSD 14+
ClosedPublic

Authored by dereckson on Jun 30 2024, 23:53.
Tags
None
Referenced Files
F9922491: D3349.diff
Mon, Jun 16, 07:28
Unknown Object (File)
Fri, Jun 13, 18:25
Unknown Object (File)
Tue, Jun 10, 14:20
Unknown Object (File)
Thu, Jun 5, 16:10
Unknown Object (File)
Wed, Jun 4, 17:11
Unknown Object (File)
Wed, May 28, 14:23
Unknown Object (File)
Mon, May 26, 21:09
Unknown Object (File)
Thu, May 22, 14:29
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 Passed
Unit
No Test Coverage
Branch
pre-commit-freebsd
Build Status
Buildable 5305
Build 5586: arc lint + arc unit

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.