Skip to content

Commit

Permalink
style: 💄 add pylint, black and other tools
Browse files Browse the repository at this point in the history
These tools would help us maintain our code quality
  • Loading branch information
david30907d committed Aug 7, 2020
1 parent 2f237ef commit ecb66bc
Show file tree
Hide file tree
Showing 9 changed files with 1,610 additions and 121 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install
python setup.py install
- name: Download inception models
run: |
wget "https://storage.googleapis.com/download.tensorflow.org/models/inception_v3_2016_08_28_frozen.pb.tar.gz" -O berrynet/engine/inception_v3_2016_08_28_frozen.pb.tar.gz
Expand All @@ -70,3 +69,8 @@ jobs:
- name: Test with pytest
run: |
python -m unittest
- name: Test coverage
run: |
pytest --cov=project --cov-report=term-missing tests
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ venv

# Others
*.swp

# node packages
node_modules

# pytest-coverage
.coverage

# mypy
.mypy_cache/
Loading

0 comments on commit ecb66bc

Please sign in to comment.