Skip to content

Commit b116e3e

Browse files
jougsheplesser
andauthored
Apply suggestions from code review
Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no>
1 parent 1863111 commit b116e3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_support/check_code_style.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ if $PERFORM_CLANG_FORMAT; then
273273
$CLANG_FORMAT -style=file ./nest/main.cpp >/dev/null 2>&1 || error_exit "Failed to verify the CLANG-FORMAT installation. Executable: $CLANG_FORMAT"
274274
clang_format_version=`$CLANG_FORMAT --version | sed -${EXTENDED_REGEX_PARAM} 's/^.*([0-9]\.[0-9])\..*/\1/'`
275275
if [[ "x$clang_format_version" != "x13.0" ]]; then
276-
error_exit "Failed to verify the CLANG-FORMAT installation. Version 13 is required. The executable '$CLANG_FORMAT' is of version $clang_format_version."
276+
error_exit "Failed to verify the CLANG-FORMAT installation. Version 13.0 is required. The executable '$CLANG_FORMAT' is version $clang_format_version."
277277
fi
278278
fi
279279

doc/htmldoc/developer_space/guidelines/coding_guidelines_check.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The code has to compile without warnings (in the default settings of the build
4141
infrastructure). We restrict ourselves to the C++11 standard for a larger support of
4242
compilers on various cluster systems and supercomputers.
4343

44-
We use clang-format version 13 in our CI.
44+
We use clang-format version 13 in our CI. If your `clang-format` executable is not version 13, you need to specify an executable with version 13 explicitly with the `--clang-format` option to ensure consistency with the NEST CI.
4545

4646
Furthermore, we use `Vera++ <https://bitbucket.org/verateam/vera/wiki/Home>`_, which
4747
'is a programmable tool for verification, analysis and transformation of C++

0 commit comments

Comments
 (0)