Kaynağa Gözat

Remove clang-tidy -fix flag handlign (doesn't work)

tags/v0.0.1
Thom Wiggers 5 yıl önce
ebeveyn
işleme
fbe01a7d3c
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 1BB0A7CE26E363
1 değiştirilmiş dosya ile 1 ekleme ve 6 silme
  1. +1
    -6
      test/test_linter.py

+ 1
- 6
test/test_linter.py Dosyayı Görüntüle

@@ -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)

Yükleniyor…
İptal
Kaydet