Skip to content

Commit 3642e59

Browse files
authored
[sdk generation pipeline] reduce useless log (#44511)
* reduce useless log * fix useless log
1 parent 1ee7046 commit 3642e59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import json
66
import logging
77
from pathlib import Path
8+
import subprocess
89
from subprocess import check_call
910
import shutil
1011
import re
@@ -244,6 +245,10 @@ def main(generate_input, generate_output):
244245
],
245246
cwd=package_path,
246247
timeout=600,
248+
# known issue that higher python version meet install warning with lower pylint.
249+
# we skip the output here to reduce confusion and will remove it after apiview tool upgrade to higher pylint version.
250+
stdout=subprocess.DEVNULL,
251+
stderr=subprocess.DEVNULL,
247252
)
248253
cmds = ["apistubgen", "--pkg-path", "."]
249254
cross_language_mapping_path = Path(package_path, "apiview-properties.json")

0 commit comments

Comments
 (0)