diff --git a/.cmake-format.py b/.cmake-format.py new file mode 100644 index 000000000..589c2f1dd --- /dev/null +++ b/.cmake-format.py @@ -0,0 +1,10 @@ +with section("format"): + disable = True + line_width = 120 + +with section("lint"): + disabled_codes = [ + 'C0103', # Invalid argument name + 'C0305', # Too many newlines between statements + 'C0307', # Bad indentation + ] diff --git a/.cmakelintrc b/.cmakelintrc new file mode 100644 index 000000000..243c13e12 --- /dev/null +++ b/.cmakelintrc @@ -0,0 +1 @@ +filter=-linelength,readability/logic,-whitespace/extra,-whitespace/mismatch