Fix pylint configuration, script and matcher (#491)
* Fix pylint configuration, script and matcher * Makes yapf happy * Fix one-liner docstring * Fix one-liner docstring
This commit is contained in:
committed by
GitHub
parent
12f6ed6e0b
commit
15233dba3e
@@ -1,24 +1,24 @@
|
||||
"""Creates a directory containing seed inputs from a json file having
|
||||
the following structure:
|
||||
[
|
||||
{
|
||||
"hex": "a901a1182a182a02a3626964781a6d616b655f6261645f7...",
|
||||
"cbor": "{1: h'42', 2: {\"id\": \"make.example.com\", ...",
|
||||
"description": "make credential parameters"
|
||||
},
|
||||
...
|
||||
]
|
||||
|
||||
Usage:
|
||||
- pass the resulting corpus directory path as the first argument
|
||||
- pass the json file path to make the corpus from as the second argument
|
||||
Example:
|
||||
python make_corpus.py ./corpus ./corpus_file.json
|
||||
"""
|
||||
import argparse
|
||||
import json
|
||||
import os.path
|
||||
|
||||
# Creates a directory containing seed inputs from a json file having
|
||||
# the following structure:
|
||||
# [
|
||||
# {
|
||||
# "hex": "a901a1182a182a02a3626964781a6d616b655f6261645f7...",
|
||||
# "cbor": "{1: h'42', 2: {\"id\": \"make.example.com\", ...",
|
||||
# "description": "make credential parameters"
|
||||
# },
|
||||
# ...
|
||||
# ]
|
||||
#
|
||||
# Usage:
|
||||
# - pass the resulting corpus directory path as the first argument
|
||||
# - pass the json file path to make the corpus from as the second argument
|
||||
# Example:
|
||||
# python make_corpus.py ./corpus ./corpus_file.json
|
||||
|
||||
|
||||
# Creates a corpus directory to the given path from the given json file.
|
||||
def make_corpus(corpus_dir, corpus_json):
|
||||
|
||||
Reference in New Issue
Block a user