Commit db302573 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Flake8, Semver, Pre-commit

* Added pre-commit: http://pre-commit.com
* Fixed flake8 errors
* Added flake8 pre-commit hooks
* Added pre-commit to Makefile
* Changed VERSION numbering
* Changed versioning to match PEP-0440
parent 7fd69cc6
...@@ -6,8 +6,7 @@ import os ...@@ -6,8 +6,7 @@ import os
from os import path from os import path
from fnmatch import fnmatch from fnmatch import fnmatch
import pyld from jsonschema import RefResolver, Draft4Validator, ValidationError
from jsonschema import validate, RefResolver, Draft4Validator, ValidationError
root_path = path.join(path.dirname(path.realpath(__file__)), '..') root_path = path.join(path.dirname(path.realpath(__file__)), '..')
schema_folder = path.join(root_path, 'senpy', 'schemas') schema_folder = path.join(root_path, 'senpy', 'schemas')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment