diff --git a/docs/source/devguide/styleguide.rst b/docs/source/devguide/styleguide.rst index c8644e45c..936f0c838 100644 --- a/docs/source/devguide/styleguide.rst +++ b/docs/source/devguide/styleguide.rst @@ -153,6 +153,9 @@ Avoid extraneous whitespace in the following situations: Yes: if (variable == 2) then No: if ( variable==2 ) then +The structure component designator ``%`` should be surrounded by one space on +each side. + Do not leave trailing whitespace at the end of a line. ------