From 7dbd4d98df813141c1f315b5f761def2ad3c89ad Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 23 Nov 2022 18:42:07 +0800 Subject: [PATCH 1/2] for test Signed-off-by: chensuyue --- .azure-pipelines/code-scan.yml | 26 ++------------------------ neural_compressor/__init__.py | 1 - 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/.azure-pipelines/code-scan.yml b/.azure-pipelines/code-scan.yml index 3c8a8c8daae..783093b2682 100644 --- a/.azure-pipelines/code-scan.yml +++ b/.azure-pipelines/code-scan.yml @@ -10,35 +10,13 @@ pr: include: - neural_compressor -pool: ICX-16C +pool: + vmImage: "ubuntu-latest" variables: CODE_SCAN_LOG_PATH: ".azure-pipelines/scripts/codeScan/scanLog" stages: - - stage: BanditCodeScan - displayName: Bandit Code Scan - dependsOn: [] - jobs: - - job: Bandit - displayName: Bandit - steps: - - template: template/code-scan-template.yml - parameters: - codeScanFileName: "bandit" - uploadPath: "lpot-bandit.log" - - - stage: PylintCodeScan - displayName: Pylint Code Scan - dependsOn: [] - jobs: - - job: Pylint - displayName: Pylint - steps: - - template: template/code-scan-template.yml - parameters: - codeScanFileName: "pylint" - uploadPath: "lpot-pylint.json" - stage: CopyRight displayName: CopyRight Code Scan diff --git a/neural_compressor/__init__.py b/neural_compressor/__init__.py index 6bdf202786c..d6c9c6d97d9 100644 --- a/neural_compressor/__init__.py +++ b/neural_compressor/__init__.py @@ -1,7 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# Copyright (c) 2021 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. From 568861646e786b3527b5648079485e447cbe9c6f Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 23 Nov 2022 18:49:37 +0800 Subject: [PATCH 2/2] for test Signed-off-by: chensuyue --- .azure-pipelines/code-scan.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.azure-pipelines/code-scan.yml b/.azure-pipelines/code-scan.yml index 783093b2682..c14ed649da9 100644 --- a/.azure-pipelines/code-scan.yml +++ b/.azure-pipelines/code-scan.yml @@ -10,8 +10,7 @@ pr: include: - neural_compressor -pool: - vmImage: "ubuntu-latest" +pool: ICX-16C variables: CODE_SCAN_LOG_PATH: ".azure-pipelines/scripts/codeScan/scanLog"