Skip to content

Commit

Permalink
STYLE: Spelling 'codebase' -> 'code base'
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Jun 4, 2024
1 parent 55e2339 commit 2185144
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Documentation/docs/releases/5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ In addition to the many other pixel types supported, the `itk` binary Python pac

ITK has adopted a [*.clang-format*](https://github.com/InsightSoftwareConsortium/ITK/blob/master/.clang-format) coding style configuration file so a consistent coding style can automatically be applied to C++ code with the [`clang-format`](https://releases.llvm.org/download.html) binary. A consistent coding style is critical for readability and collaborative development.

`clang-format` has been applied to the entire codebase. The Whitesmiths style of brace indentation, previously part of the [ITK Coding Style Guidelines](https://itk.org/ItkSoftwareGuide.pdf), is not supported by clang-format, so it has been replaced by a brace style consistent with VTK's current style.
`clang-format` has been applied to the entire code base. The Whitesmiths style of brace indentation, previously part of the [ITK Coding Style Guidelines](https://itk.org/ItkSoftwareGuide.pdf), is not supported by clang-format, so it has been replaced by a brace style consistent with VTK's current style.

A Git commit hook will automatically apply `clang-format` to changed C++ code.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/docs/scientific_ecosystem/itk_ecosystem.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ITK ecosystem

Together with the core ITK codebase, a number of other projects and
Together with the core ITK code base, a number of other projects and
frameworks are maintained allowing to leverage the power of ITK beyond
its natural boundaries:

Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkMacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace itk

/* NOTE: The ITK_MACROEND_NOOP_STATEMENT is used at the end
* of ITK supported macros to ensure that when the macro
* is used in the codebase that the line must have ';' after
* is used in the code base that the line must have ';' after
* the macro is used. This makes formatting visually similar
* to functions, and greatly improves the clang-format
* behaviors for indentation. This also assists
Expand Down
2 changes: 1 addition & 1 deletion Modules/Remote/Deprecated/NeuralNetworks.remote.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#-- ### Please document here any justification for the criteria above
# This outdated code is not recommended for use. It is not optimized or rigourously tested
# This module has not received updates or testing for many many years
# Core developers should *NOT* expend energy or resources keeping this codebase consistent with ITK
# Core developers should *NOT* expend energy or resources keeping this code base consistent with ITK

if(NOT ITK_LEGACY_REMOVE
AND ITKV4_COMPATIBILITY
Expand Down
2 changes: 1 addition & 1 deletion Utilities/ITKv5Preparation/CheckForOutdatedDefines.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# \author Hans J. Johnson
#
# This script simply checks a codebase for pre-processor
# This script simply checks a code base for pre-processor
# macros that have been deprecated since ITKv5.
#
# This is intended to assist developers with
Expand Down

0 comments on commit 2185144

Please sign in to comment.