diff --git a/.unibeautifyrc.json b/.unibeautifyrc.json new file mode 100644 index 000000000..b29253705 --- /dev/null +++ b/.unibeautifyrc.json @@ -0,0 +1,8 @@ +{ + "Python": { + "beautifiers": [ + "YAPF" + ], + "wrap_line_length": 120 + } +} \ No newline at end of file diff --git a/WebApp/autoreduce_webapp/reduction_viewer/utils.py b/WebApp/autoreduce_webapp/reduction_viewer/utils.py index 678a09ca9..ce6649e2b 100644 --- a/WebApp/autoreduce_webapp/reduction_viewer/utils.py +++ b/WebApp/autoreduce_webapp/reduction_viewer/utils.py @@ -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):