分享一个检查yaml文件是否有语法错误的脚本

环境 开发环境:Mac 10.15.6(理论上适用于三大系统) python:3.7.7 依赖:pyyaml 上菜 import os import sys import yaml import argparse parser = argparse.ArgumentParser( description="A tool to find the fatal error...

2020-10-09 · 1 分钟 · sharp097