Andrew Cohen
5 年前
当前提交
e0aa5cee
共有 16 个文件被更改,包括 76 次插入 和 26 次删除
-
14.pre-commit-config.yaml
-
4com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs
-
4com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs
-
2docs/Installation.md
-
5docs/Training-Curriculum-Learning.md
-
2docs/Training-on-Microsoft-Azure.md
-
2ml-agents/mlagents/trainers/agent_processor.py
-
14ml-agents/mlagents/trainers/ghost/controller.py
-
5ml-agents/mlagents/trainers/learn.py
-
5ml-agents/mlagents/trainers/trainer_controller.py
-
3ml-agents/mlagents/trainers/trainer_util.py
-
3ml-agents/setup.py
-
8com.unity.ml-agents/Tests/Editor/TestModels.meta
-
23utils/run_markdown_link_check.py
-
8com.unity.ml-agents/Tests/Editor/Resources.meta
-
0/com.unity.ml-agents/Tests/Editor/TestModels
|
|||
fileFormatVersion: 2 |
|||
guid: 95997790219c547e584c3cb50122a95f |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
#!/usr/bin/env python3 |
|||
|
|||
import argparse |
|||
import subprocess |
|||
|
|||
if __name__ == "__main__": |
|||
# markdown-link-check doesn't support multiple files on the commandline, so this hacks around that. |
|||
# Note that you must install the package separately via npm. For example: |
|||
# brew install npm; npm install -g markdown-link-check |
|||
parser = argparse.ArgumentParser() |
|||
parser.add_argument("--check-remote", action="store_true") |
|||
parser.add_argument("files", nargs="*") |
|||
args = parser.parse_args() |
|||
|
|||
config_file = ( |
|||
"markdown-link-check.full.json" |
|||
if args.check_remote |
|||
else "markdown-link-check.fast.json" |
|||
) |
|||
|
|||
for f in args.files: |
|||
subprocess_args = ["markdown-link-check", "-c", config_file, f] |
|||
subprocess.check_call(subprocess_args) |
|
|||
fileFormatVersion: 2 |
|||
guid: 22f1c3c8541da48e480c6b921343c2ee |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue