Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent d2a2160 commit 89f6455
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion yaqc/yaqc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Generic yaq client."""


from .__version__ import *
from ._client import *
from . import _avro_numpy
1 change: 0 additions & 1 deletion yaqc/yaqc/__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: 0 additions & 1 deletion yaqc/yaqc/_properties.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Class representing single property, see YEP-111."""


Getter = object()


Expand Down
1 change: 0 additions & 1 deletion yaqd-core/yaqd_core/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Define version."""


import pathlib
import subprocess

Expand Down
6 changes: 3 additions & 3 deletions yaqd-core/yaqd_core/_has_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def __init__(
self, name: str, config: Dict[str, Any], config_filepath: pathlib.Path
):
super().__init__(name, config, config_filepath)
self.__mappings: Dict[
str, Any
] = dict() # don't interact directly, use property
self.__mappings: Dict[str, Any] = (
dict()
) # don't interact directly, use property
self._mapping_id: int = 0
self._channel_mappings: Dict[str, List[str]] = dict()
self._mapping_units: Dict[str, str] = dict()
Expand Down
3 changes: 1 addition & 2 deletions yaqd-core/yaqd_core/_has_turret.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ def set_turret(self, identifier: str):
self._busy = True

@abstractmethod
def get_turret_options(self):
...
def get_turret_options(self): ...

def get_turret(self):
return self._state["turret"]
1 change: 1 addition & 0 deletions yaqd-fakes/yaqd_fakes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" fake yaq daemons, for testing purposes
"""

from .__version__ import *
1 change: 0 additions & 1 deletion yaqd-fakes/yaqd_fakes/__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: 0 additions & 1 deletion yaqd-fakes/yaqd_fakes/_signal_generators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Generators for fake sensor signal generation."""


import random


Expand Down

0 comments on commit 89f6455

Please sign in to comment.