Skip to content

[pre-commit.ci] pre-commit autoupdate #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
Expand Up @@ -2,14 +2,14 @@ ci:
autoupdate_schedule: 'monthly'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: no-commit-to-branch
args: [-b, main]

- repo: https://github.com/psf/black
rev: 23.10.1
rev: 25.1.0
hooks:
- id: black
name: black
Expand All @@ -18,7 +18,7 @@ repos:
types: [python]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
rev: v1.15.0
hooks:
- id: mypy
exclude: ^tests/.*
Expand Down
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"]
4 changes: 2 additions & 2 deletions yaqd-fakes/yaqd_fakes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" fake yaq daemons, for testing purposes
"""
"""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
Loading