style: pre-commit rules updated

This commit is contained in:
Mateusz Pusz
2024-12-28 14:02:22 +01:00
parent 71917a41dc
commit c887b11e6f
3 changed files with 15 additions and 15 deletions

View File

@@ -252,9 +252,9 @@ class MPUnitsConan(ConanFile):
tc.absolute_paths = True # only needed for CMake CI
if self._build_all:
tc.cache_variables["CMAKE_EXPORT_COMPILE_COMMANDS"] = True
tc.cache_variables[
"CMAKE_VERIFY_INTERFACE_HEADER_SETS"
] = not opt.import_std
tc.cache_variables["CMAKE_VERIFY_INTERFACE_HEADER_SETS"] = (
not opt.import_std
)
tc.cache_variables["MP_UNITS_DEV_BUILD_LA"] = not self._skip_la
if self._run_clang_tidy:
tc.cache_variables["MP_UNITS_DEV_CLANG_TIDY"] = True
@@ -264,9 +264,9 @@ class MPUnitsConan(ConanFile):
if opt.import_std:
tc.cache_variables["CMAKE_CXX_MODULE_STD"] = True
# Current experimental support according to `Help/dev/experimental.rst`
tc.cache_variables[
"CMAKE_EXPERIMENTAL_CXX_IMPORT_STD"
] = "0e5b6991-d74f-4b3d-a41c-cf096e0b2508"
tc.cache_variables["CMAKE_EXPERIMENTAL_CXX_IMPORT_STD"] = (
"0e5b6991-d74f-4b3d-a41c-cf096e0b2508"
)
# TODO remove the below when Conan will learn to handle C++ modules
if opt.freestanding: