File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,18 @@ dev = [
19
19
" ruff>=0.9.1" ,
20
20
]
21
21
22
+ [tool .ruff .lint ]
23
+ select = [" ALL" ]
24
+ ignore = [
25
+ " COM812" ,
26
+ " D103" ,
27
+ " D104" ,
28
+ " D203" ,
29
+ " D213" ,
30
+ " E501" ,
31
+ " N999" ,
32
+ ]
33
+
22
34
[tool .mypy ]
23
35
strict = true
24
36
enable_error_code = [
Original file line number Diff line number Diff line change
1
+ from __future__ import annotations
2
+
1
3
import logging
2
- from typing import Optional
3
4
4
5
5
6
def monitor_subsequent_keyword_runtime (
6
7
* ,
7
- discover_as : Optional [ str ] = None ,
8
+ discover_as : str | None = None ,
8
9
) -> None :
9
10
logging .info (
10
11
"The subsequent keyword will be discovered in Checkmk using its own name"
11
12
if discover_as is None
12
- else f'The subsequent keyword will be discovered in Checkmk as: "{ discover_as } "'
13
+ else f'The subsequent keyword will be discovered in Checkmk as: "{ discover_as } "' ,
13
14
)
You can’t perform that action at this time.
0 commit comments