Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
Ignore migrations, add back yapf CI and fix purposeful error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitar Tasev committed Feb 8, 2021
1 parent 4dab4b6 commit cc2c334
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- uses: ./.github/actions/build-autoreduction

- name: YAPF
run: python -m yapf --exclude '**/migrations' --parallel --diff --recursive .

- name: Run unit tests
run: >-
pytest --ignore=systemtests --cov=build --cov=monitors --cov=queue_processors
Expand Down
1 change: 1 addition & 0 deletions .unibeautifyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/migrations
3 changes: 1 addition & 2 deletions WebApp/autoreduce_webapp/reduction_viewer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ def _get_status(status_value):
name or create one if it doesn't yet exist
"""
# pylint:disable=no-member
status = Status.objects.get(
value=status_value)
status = Status.objects.get(value=status_value)
return status

def get_error(self):
Expand Down

0 comments on commit cc2c334

Please sign in to comment.