Skip to content

Commit 098a54e

Browse files
committed
build: remove version check from lint_and_format
1 parent 2333688 commit 098a54e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tools/lint_and_format.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
default=[".cpp", ".cc", ".c", ".h", ".hpp"],
2424
help="List of file extensions to check or format (default: .cpp .cc .c .h .hpp)",
2525
)
26-
parser.add_argument(
27-
"--clangf-version",
28-
"-v",
29-
default="15",
30-
help="Clang-format version",
31-
)
3226

3327
args = parser.parse_args()
3428

@@ -87,10 +81,6 @@ def clang_format_verify() -> str:
8781

8882
clang_format_version = clang_format_verify()
8983

90-
if args.clangf_version not in clang_format_version:
91-
print(f'Wrong clang-format version. Expected: {args.clangf_version}, Given: {clang_format_version}')
92-
sys.exit(1)
93-
9484
for file_path in file_list:
9585
if args.operation == "check":
9686
clang_check(file_path)

0 commit comments

Comments
 (0)