Skip to content

Commit

Permalink
build(dataprep): Add pytype & pylint & pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
dovahcrow committed Jun 12, 2019
1 parent 72fc696 commit bb1f230
Show file tree
Hide file tree
Showing 7 changed files with 941 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ jobs:
command: echo "export PATH=$PATH:$HOME/.local/bin" >> $BASH_ENV
- run:
name: Install python tools
command: pip install --user pylint pytest
command: pip install --user pipenv
- checkout
- run:
name: pylint the project
command: pylint dataprep
name: Install dependencies
command: pipenv install -d
- run:
name: test the project
command: pytest dataprep
name: Type check the project
command: pipenv run pytype dataprep
- run:
name: Test the project
command: pipenv run pytest dataprep
- run:
name: Style check the project
command: pipenv run pylint dataprep
workflows:
version: 2
build_and_test:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ venv.bak/

# mypy
.mypy_cache/

# pytype
.pytype/
Loading

0 comments on commit bb1f230

Please sign in to comment.