Run mypy in CircleCI job
This commit is contained in:
@@ -1,18 +1,21 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flake8:
|
flake8-mypy:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.6
|
- image: circleci/python:3.6
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install flake8
|
name: Install flake8 & mypy
|
||||||
command: sudo python -m pip install flake8
|
command: sudo python -m pip install flake8 mypy
|
||||||
- run:
|
- run:
|
||||||
name: Test.
|
name: flake8
|
||||||
command: flake8 .
|
command: flake8
|
||||||
|
- run:
|
||||||
|
name: mypy
|
||||||
|
command: mypy
|
||||||
|
|
||||||
osx-python3.6:
|
osx-python3.6:
|
||||||
macos:
|
macos:
|
||||||
@@ -51,6 +54,6 @@ workflows:
|
|||||||
version: 2
|
version: 2
|
||||||
all-tests:
|
all-tests:
|
||||||
jobs:
|
jobs:
|
||||||
- flake8
|
- flake8-mypy
|
||||||
- osx-python3.6
|
- osx-python3.6
|
||||||
- linux-python3.6
|
- linux-python3.6
|
||||||
|
|||||||
Reference in New Issue
Block a user