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

Commit

Permalink
Add unitbeautifyrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitar Tasev committed Feb 8, 2021
1 parent 27710b4 commit 4dab4b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .unibeautifyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Python": {
"beautifiers": [
"YAPF"
],
"wrap_line_length": 120
}
}
3 changes: 2 additions & 1 deletion WebApp/autoreduce_webapp/reduction_viewer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ 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 4dab4b6

Please sign in to comment.