File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ BasedOnStyle: GNU
22IndentWidth : 2
33UseTab : Never
44BreakBeforeBraces : Attach
5- ColumnLimit: 120
5+ ColumnLimit : 160
66DerivePointerAlignment : false
77PointerAlignment : Left
88IndentPPDirectives : BeforeHash
Original file line number Diff line number Diff line change @@ -230,9 +230,9 @@ def main():
230230
231231 # Warn if no .clang-format file is found in this repo tree
232232
233- # Determine the directory containing this script (…/ McCode/devel/)
234- script_dir = Path (__file__ ).resolve ().parent .parent
235- style_file = script_dir / "clang-format"
233+ # Determine top-level McCode directory
234+ script_dir = Path (__file__ ).resolve ().parent .parent . parent
235+ style_file = script_dir / ". clang-format"
236236 print (style_file )
237237
238238 # Require .clang-format to exist right next to this script
You can’t perform that action at this time.
0 commit comments