Skip to content

Commit

Permalink
cleanup, remove flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
amoodie committed Jun 20, 2020
1 parent cc1be3a commit d41f8c1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
# This workflow installs and tests pyDeltaRCM on mulitple python versions.

name: Python application
name: test pyDeltaRCM

on:
push:
Expand All @@ -26,14 +25,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install pytest
pip install -r requirements.txt
- name: Lint with flake8
- name: Install pyDeltaRCM
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
python setup.py install
- name: Test with pytest
run: |
pytest

0 comments on commit d41f8c1

Please sign in to comment.