[x] Add Black as the code formatter for this repo.
[x] Add Flake-8 and its configuration to the repo.
[x] Update the Travis CI config so we have a linting test before all of the other tests.
[x] Add pre-commit and update the requirements as well as the readme.
[x] Add some status badges.
[x] Drop support for Python 2.x
[x] Drop support for womtool validation as well as the validate command. (Cromwell will provide this feature out-of-box via endpoint starting from v39)
Review+QA Instructions:
Please expect the test to fail until we merge the PR 66 into this feature branch!!
Please check the new multi-stage test on Travis, especially verify that there is a new "linting test" before all tests.
Please follow the updated readme, make sure the pre-commit is installed on your local environment and if feasible, try to make a commit (e.g. add an empty line to the readme, but don't push it), see if the hook works. Using a virtualenv is highly recommended!
https://broadinstitute.atlassian.net/jira/software/projects/GH/boards/530
Changes:
pre-commit
and update the requirements as well as the readme.validate
command. (Cromwell will provide this feature out-of-box via endpoint starting from v39)Review+QA Instructions:
pre-commit
is installed on your local environment and if feasible, try to make a commit (e.g. add an empty line to the readme, but don't push it), see if the hook works. Using a virtualenv is highly recommended!