Skip to content

Commit

Permalink
now that mypy and flake8 are running again, fix them
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 13, 2018
1 parent 04022ad commit 6e0acd8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ matrix:
jobs:
include:
- stage: release-test
script: RELEASE_SKIP=head PYVER=2.7 ./release-test.sh && RELEASE_SKIP=head PYVER=3 ./release-test.sh
python: 2.7
script: RELEASE_SKIP=head PYVER=2.7 ./release-test.sh
- python: 3.4
script: RELEASE_SKIP=head PYVER=3 ./release-test.sh
- python: 3.5
script: RELEASE_SKIP=head PYVER=3 ./release-test.sh
- python: 3.6
script: RELEASE_SKIP=head PYVER=3 ./release-test.sh

install:
- pip2 install tox-travis || pip3 install tox-travis
script: tox
Expand Down
4 changes: 2 additions & 2 deletions cwltest/tests/mock_cwl_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ERROR_TOOL = "return-1.cwl"


def main():
def main(): # type: ()->int
parser = argparse.ArgumentParser()
parser.add_argument("processfile")
parser.add_argument("jobfile")
Expand All @@ -24,4 +24,4 @@ def main():


if __name__ == "__main__":
main()
main()
1 change: 0 additions & 1 deletion cwltest/tests/test_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ def test_arg(self):

if __name__ == '__main__':
unittest.main()

0 comments on commit 6e0acd8

Please sign in to comment.