Skip to content

Commit 787ef48

Browse files
Tobias AhrensTobias Ahrens
authored andcommitted
Update ruff to latest version
1 parent e5b31d8 commit 787ef48

4 files changed

Lines changed: 10 additions & 14 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,8 @@ target-version = "py39"
103103
[tool.ruff.lint]
104104
select = ["ALL"]
105105
ignore = [
106-
# Type annotation for self
107-
"ANN101",
108106
# Missing docstring in `__init__`
109107
"D107",
110-
# Missing type annotation for `cls` in classmethod
111-
"ANN102",
112108
# Missing docstring in magic method
113109
"D105",
114110
# Missing type annotation for `*args`

src/labone/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from labone.instrument import Instrument
77

88
__all__ = [
9-
"__version__",
10-
"Instrument",
119
"DataServer",
10+
"Instrument",
1211
"ListNodesFlags",
12+
"__version__",
1313
]

src/labone/core/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626

2727
__all__ = [
2828
"AnnotatedValue",
29-
"ListNodesFlags",
30-
"ListNodesInfoFlags",
31-
"DataQueue",
3229
"CircularDataQueue",
30+
"DataQueue",
3331
"DistinctConsecutiveDataQueue",
34-
"Session",
32+
"KernelInfo",
3533
"KernelSession",
34+
"ListNodesFlags",
35+
"ListNodesInfoFlags",
3636
"ServerInfo",
37-
"KernelInfo",
38-
"ZIContext",
39-
"Value",
37+
"Session",
4038
"ShfGeneratorWaveformVectorData",
39+
"Value",
40+
"ZIContext",
4141
]

src/labone/server/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from labone.mock.session import LabOneServerBase, MockSession, Subscription
1010

11-
__all__ = ["CapnpServer", "LabOneServerBase", "Subscription", "MockSession"]
11+
__all__ = ["CapnpServer", "LabOneServerBase", "MockSession", "Subscription"]
1212

1313
import warnings
1414

0 commit comments

Comments
 (0)