pyflakes -> flake8

This commit is contained in:
Anthony Sottile 2014-04-13 18:01:35 -07:00
parent 2c7ec7a744
commit c91b244105
5 changed files with 9 additions and 6 deletions

View file

@ -28,6 +28,7 @@ def copy_tree_to_path(src_dir, dest_dir):
else:
shutil.copy(srcname, destname)
def is_valid_according_to_schema(obj, schema):
try:
jsonschema.validate(obj, schema)