提交 d9f3d52f 编写于 作者: M Mars Liu

add hook and uniform parser

上级 d9adbdfb
repos: repos:
- repo: git@codechina.csdn.net:csdn/skill_tree_hook.git - repo: git@codechina.csdn.net:csdn/skill_tree_hook.git
rev: c1fbfe8805a7754a9d5c85bcf0b112ddad086075 rev: 450097b0e3d8b23d98a9ecc61bb104bb9124876b
hooks: hooks:
- id: pre-commit - id: pre-commit
verbose: true verbose: true
\ No newline at end of file
{ {
"node_id": "rust-7c394f164d8f44519521f03db08a1321", "node_id": "rust-7c394f164d8f44519521f03db08a1321",
"keywords": [], "keywords": ["rust", "基本语法", "hello"],
"children": [ "children": [
{ {
"Rust的起源": { "Rust的起源": {
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from json import load from skill_tree.tree import TreeWalker
from src.tree import TreeWalker, load_json, dump_json
import os
import re
if __name__ == '__main__': if __name__ == '__main__':
walker = TreeWalker("data", "rust", "rust") walker = TreeWalker("data", "rust", "rust")
......
pre_commit~=2.16.0 pre_commit~=2.16.0
GitPython~=3.1.24 GitPython~=3.1.24
\ No newline at end of file skill-tree-parser~=0.0.3
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册