From 818a22ac5d6ebe34841b2a12a161a2284e32b801 Mon Sep 17 00:00:00 2001 From: cuihubin <530051970@qq.com> Date: Fri, 29 Mar 2024 10:12:38 +0800 Subject: [PATCH] fix:reslove pr issues --- .semgrepignore | 19 +++++++++++++++++++ source/.viperlightignore | 1 + source/constructs/api/requirements.txt | 1 - 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .semgrepignore diff --git a/.semgrepignore b/.semgrepignore new file mode 100644 index 00000000..01205580 --- /dev/null +++ b/.semgrepignore @@ -0,0 +1,19 @@ +# 忽略所有在 tests 目录下的文件 +tests/ + +# 忽略所有的 .json 文件 +*.json + +# 忽略特定的文件 +.gitignore +deployment/cdk-solution-helper/index.js +deployment/cdk-solution-helper/index.js +deployment/cdk-solution-helper/index.js +deployment/helper.py +source/portal/config/env.js +source/portal/config/modules.js +source/portal/config/modules.js +source/portal/config/modules.js +source/portal/config/paths.js +source/portal/nginx-config/start_nginx.sh +.github/* diff --git a/source/.viperlightignore b/source/.viperlightignore index 83156e5d..731a7401 100755 --- a/source/.viperlightignore +++ b/source/.viperlightignore @@ -18,6 +18,7 @@ constructs/api/pytest/test_data_source.py constructs/api/pytest/test_labels.py constructs/api/pytest/test_query.py constructs/lib/common/solution-info.ts:30 +*.xlsx [python-pipoutdated] pip=v21.1.2 diff --git a/source/constructs/api/requirements.txt b/source/constructs/api/requirements.txt index fb1a0a0c..8cfd4bb3 100644 --- a/source/constructs/api/requirements.txt +++ b/source/constructs/api/requirements.txt @@ -1,7 +1,6 @@ boto3==1.28.70 pytz==2023.3 fastapi==0.109.2 -9e22693288a2126d6461949052e46f13ffa56e9d mangum==0.17.0 sqlalchemy==1.4.44 fastapi-pagination==0.12.11