Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cmake/ystdlib-helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ function(add_cpp_library)
target_sources(
${ARG_NAME}
PUBLIC
FILE_SET
HEADERS
FILE_SET HEADERS
BASE_DIRS
"$<BUILD_INTERFACE:${ARG_BUILD_INCLUDE_DIRS}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
Expand Down
2 changes: 1 addition & 1 deletion lint-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
clang-format>=20.1.0
clang-tidy>=19.1.0
colorama>=0.4.6
gersemi>=0.20.0
gersemi>=0.21.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick (assertive)

Consider pinning gersemi to a specific patch version for deterministic CI results

Using a permissive constraint (>=0.21.0) means the next patch/minor release could silently change formatting rules and break the pipeline again. Locking to an exact version (e.g., ==0.21.0) or using ~= to stay within the same minor line gives more predictable builds while still allowing conscious upgrades.

🤖 Prompt for AI Agents
In lint-requirements.txt at line 4, the version constraint for gersemi is
currently set to a permissive ">=0.21.0". To ensure deterministic CI results and
avoid unexpected breakages from patch or minor updates, change this to a more
restrictive version specifier such as "==0.21.0" to pin to an exact version or
"~=0.21.0" to allow only patch updates within the same minor version.

yamllint>=1.35.1