From 3dd5524bfd15888279650a9eebdb6bb4c21c8e3d Mon Sep 17 00:00:00 2001 From: Mathieu Courtois <mathieu.courtois@edf.fr> Date: Wed, 12 Mar 2025 11:11:27 +0100 Subject: [PATCH] [#34440] add types for files in 'libs' --- share/test/test_aslint/test_check_files.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/test/test_aslint/test_check_files.py b/share/test/test_aslint/test_check_files.py index b637880..cd7ab9f 100644 --- a/share/test/test_aslint/test_check_files.py +++ b/share/test/test_aslint/test_check_files.py @@ -75,11 +75,11 @@ def test_get_file_type(): ) or path in top or (typ is None and base in ("fermetur", "histor")) - or (typ == "c" and base in ("bibc", "mfront")) + or (typ == "c" and base in ("bibc", "mfront", "libs")) or (typ == "h" and base == "bibc" and path.endswith(".h")) - or (typ == "cxx" and base == "bibcxx") + or (typ == "cxx" and base in ("bibcxx", "libs")) or (typ == "hxx" and base == "bibcxx" and path.endswith(".h")) - or (typ == "for" and base == "bibfor") + or (typ == "for" and base in ("bibfor", "libs")) or (typ == "hf" and base == "bibfor" and path.endswith(".h")) or (typ == "py" and base in ("bibpyt", "code_aster", "run_aster")) or (typ == "cython" and base == "code_aster") -- GitLab