Skip to content

Commit 8844e1f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b3f319a commit 8844e1f

File tree

11 files changed

+11
-3
lines changed

11 files changed

+11
-3
lines changed

reflectivity_ui/config/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
General settings
33
"""
44

5-
65
# standard imports
76
import json
87
import os
@@ -13,6 +12,7 @@
1312

1413
class Settings(object):
1514
r"""Singleton object containing the GUI settings as a dictionary"""
15+
1616
_instance = None
1717

1818
def __new__(cls, *args, **kwargs):

reflectivity_ui/interfaces/data_handling/data_info.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Meta-data information for MR reduction
33
"""
4+
45
# pylint: disable=too-few-public-methods, wrong-import-position, too-many-instance-attributes, wrong-import-order
56

67
import sys

reflectivity_ui/interfaces/data_handling/data_manipulation.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Methods used to process data, usually calling Mantid
33
"""
4+
45
# pylint: disable=invalid-name, too-many-instance-attributes, line-too-long, multiple-statements, bare-except, protected-access, wrong-import-position
56

67
import sys

reflectivity_ui/interfaces/data_handling/data_set.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Loader for event nexus files.
33
Uses Mantid Framework
44
"""
5+
56
# pylint: disable=invalid-name, too-many-instance-attributes, line-too-long, multiple-statements, bare-except, wrong-import-order, \
67
# too-many-locals, too-few-public-methods, wrong-import-position, too-many-public-methods
78

reflectivity_ui/interfaces/data_handling/filepath.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Classes to handle string representations of sets of run numbers and absolute paths to data files
33
"""
44

5-
65
# standard imports
76
import itertools
87
import operator
@@ -15,6 +14,7 @@ class RunNumbers(object):
1514
A helper class to handle string representations of one or more run numbers. It translates from a
1615
string representation to a list of run numbers, and viceversa
1716
"""
17+
1818
merge_symbol = "+"
1919
range_symbol = ":"
2020

@@ -110,6 +110,7 @@ class FilePath(object):
110110
111111
NOTE: Paths are sorted
112112
"""
113+
113114
merge_symbol = "+"
114115

115116
@classmethod

reflectivity_ui/interfaces/data_handling/instrument.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
that is instrument-specific and abstracts out how we obtain
44
information from the data file
55
"""
6+
67
# pylint: disable=invalid-name, too-many-instance-attributes, line-too-long, bare-except
78

89

reflectivity_ui/interfaces/data_handling/peak_finding.py

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
All rights reserved.
1414
"""
1515

16-
1716
import math
1817
import numpy as np
1918

reflectivity_ui/interfaces/data_handling/processing_workflow.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Data processing workflow, taking results and writing them to files.
33
"""
4+
45
# pylint: disable=bare-except, too-many-locals
56

67
import sys

reflectivity_ui/interfaces/event_handlers/widgets.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Zoo for customized simple widgets
33
"""
4+
45
from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QVBoxLayout, QLabel, QPushButton
56

67

reflectivity_ui/interfaces/reduction_dialog.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Dialog to select reduction options to choose which outputs are needed
33
and in which formats to write them.
44
"""
5+
56
# pylint: disable=bare-except
67

78
import os

reflectivity_ui/interfaces/result_viewer.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Dialog to show final reduced data.
33
"""
4+
45
# pylint: disable=bare-except
56

67
import logging

0 commit comments

Comments
 (0)