Skip to content

Commit e165aff

Browse files
[pre-commit.ci] pre-commit autoupdate (#78)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](pre-commit/pre-commit-hooks@v4.5.0...v6.0.0) - https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 23.10.1 → 25.9.0](psf/black-pre-commit-mirror@23.10.1...25.9.0) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.18.2](pre-commit/mirrors-mypy@v1.6.1...v1.18.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e96cca4 commit e165aff

File tree

10 files changed

+10
-17
lines changed

10 files changed

+10
-17
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ ci:
22
autoupdate_schedule: 'monthly'
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.5.0
5+
rev: v6.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: no-commit-to-branch
99
args: [-b, main]
1010

11-
- repo: https://github.com/psf/black
12-
rev: 23.10.1
11+
- repo: https://github.com/psf/black-pre-commit-mirror
12+
rev: 25.9.0
1313
hooks:
1414
- id: black
1515
name: black
@@ -18,7 +18,7 @@ repos:
1818
types: [python]
1919

2020
- repo: https://github.com/pre-commit/mirrors-mypy
21-
rev: v1.6.1
21+
rev: v1.18.2
2222
hooks:
2323
- id: mypy
2424
exclude: ^tests/.*

yaqc/yaqc/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Generic yaq client."""
22

3-
43
from .__version__ import *
54
from ._client import *
65
from . import _avro_numpy

yaqc/yaqc/__version__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Define version."""
22

3-
43
import pathlib
54
import subprocess
65

yaqc/yaqc/_properties.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Class representing single property, see YEP-111."""
22

3-
43
Getter = object()
54

65

yaqd-core/yaqd_core/__version__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Define version."""
22

3-
43
import pathlib
54
import subprocess
65

yaqd-core/yaqd_core/_has_mapping.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def __init__(
1414
self, name: str, config: Dict[str, Any], config_filepath: pathlib.Path
1515
):
1616
super().__init__(name, config, config_filepath)
17-
self.__mappings: Dict[
18-
str, Any
19-
] = dict() # don't interact directly, use property
17+
self.__mappings: Dict[str, Any] = (
18+
dict()
19+
) # don't interact directly, use property
2020
self._mapping_id: int = 0
2121
self._channel_mappings: Dict[str, List[str]] = dict()
2222
self._mapping_units: Dict[str, str] = dict()

yaqd-core/yaqd_core/_has_turret.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ def set_turret(self, identifier: str):
1212
self._busy = True
1313

1414
@abstractmethod
15-
def get_turret_options(self):
16-
...
15+
def get_turret_options(self): ...
1716

1817
def get_turret(self):
1918
return self._state["turret"]

yaqd-fakes/yaqd_fakes/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
""" fake yaq daemons, for testing purposes
2-
"""
1+
"""fake yaq daemons, for testing purposes"""
2+
33
from .__version__ import *

yaqd-fakes/yaqd_fakes/__version__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Define version."""
22

3-
43
import pathlib
54
import subprocess
65

yaqd-fakes/yaqd_fakes/_signal_generators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Generators for fake sensor signal generation."""
22

3-
43
import random
54

65

0 commit comments

Comments
 (0)