1 Star 0 Fork 43

陈亚强/spdk

forked from src-openEuler/spdk 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0035-scripts-nvmf_perf-fix-pylint-C0411-wrong-import-orde.patch 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
tongkunkun 提交于 2023-03-15 16:52 . backport upstream patches
From 6882e04563c8b406c2751ad258b5dd87786937aa Mon Sep 17 00:00:00 2001
From: Karol Latecki <[email protected]>
Date: Thu, 28 Jan 2021 14:04:03 +0100
Subject: [PATCH] scripts/nvmf_perf: fix pylint C0411 wrong import order
Standard lib modules first, then pip installed modules
and local modules last.
Signed-off-by: Karol Latecki <[email protected]>
Change-Id: If0159fad29bab5bef0b69aa803e3cea429cc5f25
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6202
Reviewed-by: Maciej Wawryk <[email protected]>
Reviewed-by: Tomasz Zawadzki <[email protected]>
Reviewed-by: Pawel Piatek <[email protected]>
Reviewed-by: Jim Harris <[email protected]>
Tested-by: SPDK CI Jenkins <[email protected]>
Community-CI: Mellanox Build Bot
---
scripts/perf/nvmf/run_nvmf.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/scripts/perf/nvmf/run_nvmf.py b/scripts/perf/nvmf/run_nvmf.py
index 2883d9a99..2c5331e86 100755
--- a/scripts/perf/nvmf/run_nvmf.py
+++ b/scripts/perf/nvmf/run_nvmf.py
@@ -4,17 +4,19 @@ import os
import re
import sys
import json
-import paramiko
import zipfile
import threading
import subprocess
import itertools
import time
import uuid
+from collections import OrderedDict
+
+import paramiko
+import pandas as pd
+
import rpc
import rpc.client
-import pandas as pd
-from collections import OrderedDict
from common import *
--
2.37.2.windows.2
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaqiangchen/spdk.git
[email protected]:yaqiangchen/spdk.git
yaqiangchen
spdk
spdk
master

搜索帮助