From fbe01a7d3cbe8c292cb2133f248229c14693c6d9 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Thu, 1 Aug 2019 09:13:30 +0200 Subject: [PATCH] Remove clang-tidy -fix flag handlign (doesn't work) --- test/test_linter.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/test_linter.py b/test/test_linter.py index 077b4d91..d48e856f 100644 --- a/test/test_linter.py +++ b/test/test_linter.py @@ -8,7 +8,7 @@ import pytest import helpers import pqclean -additional_flags = [] +additional_flags = [] #['-fix-errors'] @pytest.mark.parametrize( @@ -46,9 +46,4 @@ def test_clang_tidy(implementation: pqclean.Implementation): if __name__ == "__main__": import sys - # allow a user to specify --fix-errors, to immediately fix errors - if len(sys.argv) >= 2 and sys.argv[1] == '-fix-errors': - additional_flags = ['-fix-errors'] - del sys.argv[1] - pytest.main(sys.argv)