封装脚本
pip install pipreqs
库分析当前目录下的python脚本所需要的库并生成requirement.txt
import argparse
脚本输入参数
import subprocess
from openpyxl import load_workbook
import argparse
def split_blame(string: str):
return string.split('(')[1].split()[0]
def get_blame_info(repo_path, csv_path):
wb = load_workbook(csv_path)
sheet = wb