Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor validation #42

Merged
merged 26 commits into from
Mar 24, 2019
Merged

Refactor validation #42

merged 26 commits into from
Mar 24, 2019

Commits on Mar 18, 2019

  1. Rename documentation to docstring

    Less typing...
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    a6b76e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2019

  1. Change keyword -> name and section -> name

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    62e0c2e View commit details
    Browse the repository at this point in the history
  2. Add tools for views

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    35f8bef View commit details
    Browse the repository at this point in the history
  3. Add tests for views

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    2fb9505 View commit details
    Browse the repository at this point in the history
  4. Merge template and input dictionary

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    59652ed View commit details
    Browse the repository at this point in the history
  5. Add callable defaults and global error reporting

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    8175000 View commit details
    Browse the repository at this point in the history
  6. Separate and refactor type matching machinery

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    ba379b9 View commit details
    Browse the repository at this point in the history
  7. Implement type checking

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    268aac8 View commit details
    Browse the repository at this point in the history
  8. Add more tests for defaulting

    Fix #33
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    ace19cc View commit details
    Browse the repository at this point in the history
  9. Implement global checks on templates

    Fixes #34 and makes sure that we report all errors in the template.
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    c4bf127 View commit details
    Browse the repository at this point in the history
  10. Update HISTORY.rst

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    fff1a73 View commit details
    Browse the repository at this point in the history
  11. Implement predicate checking

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    b1b3cd7 View commit details
    Browse the repository at this point in the history
  12. Make tests on type checking unit tests

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    c673373 View commit details
    Browse the repository at this point in the history
  13. Expand test suite for check_template

    And uncover a bug...
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    dc3c686 View commit details
    Browse the repository at this point in the history
  14. Fix bugs in template and predicate checking

    Extend test suite somewhat.
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    ea08140 View commit details
    Browse the repository at this point in the history
  15. Refactor check_template to not modify the template

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    98fc8d1 View commit details
    Browse the repository at this point in the history
  16. Refactor check_predicates function

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    79a4565 View commit details
    Browse the repository at this point in the history
  17. Add tests for template errors

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    7f688ad View commit details
    Browse the repository at this point in the history
  18. Report messages of failing predicates

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    239a892 View commit details
    Browse the repository at this point in the history
  19. Add integration testing

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    9af27d8 View commit details
    Browse the repository at this point in the history
  20. Drop support for Python 3.4

    So long! We test against Python 3.8-dev on Travis
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    25130db View commit details
    Browse the repository at this point in the history
  21. Test 3.8-dev last

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    3b02c3c View commit details
    Browse the repository at this point in the history
  22. Rework API and CLI

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    c01b439 View commit details
    Browse the repository at this point in the history
  23. Fix flake8 and mypy warnings

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    12e3519 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2019

  1. Create file if not exists

    Fixes behavior of resolve() for Python 3.5
    
    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    19dd3d8 View commit details
    Browse the repository at this point in the history
  2. Fix bug introduced when casting string to Path

    Signed-off-by: Roberto Di Remigio <roberto.diremigio@gmail.com>
    robertodr committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    4a2c7e5 View commit details
    Browse the repository at this point in the history