Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/psf/black
rev: 23.11.0 # Replace by any tag/version: https://github.com/psf/black/tags
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
args: ["--line-length", "99"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: datasets|.data$
Expand Down
1 change: 0 additions & 1 deletion yaqc_cmds/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Unified software for controlling hardware and collecting data in the Wright group."""


from .__version__ import *
from .project import *
1 change: 0 additions & 1 deletion yaqc_cmds/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Define version."""


import pathlib
import subprocess

Expand Down
1 change: 1 addition & 0 deletions yaqc_cmds/hardware/hardware.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Parent hardware class and associated.
"""

__all__ = ["Driver", "GUI", "Hardware", "import_hardwares"]


Expand Down
1 change: 0 additions & 1 deletion yaqc_cmds/project/file_dialog_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
QFileDialog objects can only be run in the main thread.
"""


### imports ###################################################################


Expand Down
1 change: 0 additions & 1 deletion yaqc_cmds/project/kit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
a collection of small, general purpose objects and methods
"""


### import ####################################################################


Expand Down
1 change: 0 additions & 1 deletion yaqc_cmds/sensors/_sensors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Sensors."""


import appdirs
import pathlib
import time
Expand Down
1 change: 0 additions & 1 deletion yaqc_cmds/somatic/_wt5.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""wt5 data file functions"""


import time
import threading

Expand Down
1 change: 0 additions & 1 deletion yaqc_cmds/somatic/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Acquisition infrastructure shared by all modules.
"""


### import ####################################################################


Expand Down
3 changes: 1 addition & 2 deletions yaqc_cmds/somatic/modules/abstract_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def process(self, scan_folder):
reference_image=str(pathlib.Path(scan_folder) / self.reference_image),
)

def _process(self, data, curve, channel, gtol, ltol, level, scan_folder, config):
...
def _process(self, data, curve, channel, gtol, ltol, level, scan_folder, config): ...

@property
def config_dictionary(self):
Expand Down