Skip to content

Commit ea0c65a

Browse files
committed
mypy fixes
1 parent 7c01294 commit ea0c65a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/build_docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- master # Triggers deployment on push to the master branch
7-
- restructure-docs
87

98
env:
109
python-version: 3.12

src/pynxtools/dataconverter/helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def _log(self, path: str, log_type: ValidationProblem, value: Optional[Any], *ar
218218
f"Compression for {path} = {value} should not be used for enumerated concepts."
219219
)
220220
elif log_type == ValidationProblem.DoNotCompressStringsBoolean:
221+
value = cast(dict, value)
221222
dtype = type(value["compress"]).__name__
222223
dtype_map = {
223224
"str": "string",

0 commit comments

Comments
 (0)