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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
#
repos:
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
rev: e2c2116d86a80e72e7146a06e68b7c228afc6319 # frozen: v0.6.13
hooks:
- id: cmake-format
exclude: '^(FindBISON|FindOpenSSL|FindPackageHandleStandardArgs|FindPackageMessage|SelectLibraryConfigurations|conan).cmake$'

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: trailing-whitespace
exclude: '^(FindOpenSSL|conan).cmake$'

- repo: https://github.com/maxwinterstein/shfmt-py
rev: v3.11.0.2
rev: 85cc16bc0319e182d7b62b0a2de351358083ce4c # frozen: v4.0.0
hooks:
- id: shfmt
args: ["-w", "-i", "4", "-ci"]
1 change: 1 addition & 0 deletions BuiltInSpicyAnalyzer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function (spicy_add_analyzer)
add_library(${lib} OBJECT ${generated_sources} ${cxx_sources})
target_compile_features(${lib} PRIVATE ${ZEEK_CXX_STD})
set_target_properties(${lib} PROPERTIES CXX_EXTENSIONS OFF)
zeek_target_enable_sanitizers(${lib})

if (MSVC)
target_compile_options(${lib} PRIVATE /bigobj /wd4716)
Expand Down
Loading