PySerials 0.0.0.dev19__tar.gz → 0.0.0.dev21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/PKG-INFO +3 -3
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/pyproject.toml +3 -3
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/PySerials.egg-info/PKG-INFO +3 -3
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/PySerials.egg-info/requires.txt +2 -2
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/exception/read.py +6 -6
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/README.md +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/setup.cfg +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/PySerials.egg-info/SOURCES.txt +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/PySerials.egg-info/dependency_links.txt +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/PySerials.egg-info/not-zip-safe +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/PySerials.egg-info/top_level.txt +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/__init__.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/compare.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/exception/__init__.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/exception/_base.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/exception/update.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/exception/validate.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/format.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/nested_dict.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/read.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/update.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/validate.py +0 -0
- {pyserials-0.0.0.dev19 → pyserials-0.0.0.dev21}/src/pyserials/write.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PySerials
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev21
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: jsonschema<5,>=4.21.0
|
|
6
6
|
Requires-Dist: referencing>=0.35.1
|
|
@@ -8,6 +8,6 @@ Requires-Dist: jsonpath-ng<2,>=1.6.1
|
|
|
8
8
|
Requires-Dist: ruamel.yaml<0.18,>=0.17.32
|
|
9
9
|
Requires-Dist: ruamel.yaml.string<1,>=0.1.1
|
|
10
10
|
Requires-Dist: tomlkit<0.12,>=0.11.8
|
|
11
|
-
Requires-Dist: MDit==0.0.0.
|
|
12
|
-
Requires-Dist: ExceptionMan==0.0.0.
|
|
11
|
+
Requires-Dist: MDit==0.0.0.dev18
|
|
12
|
+
Requires-Dist: ExceptionMan==0.0.0.dev18
|
|
13
13
|
Requires-Dist: ProtocolMan==0.0.0.dev2
|
|
@@ -17,7 +17,7 @@ namespaces = true
|
|
|
17
17
|
# ----------------------------------------- Project Metadata -------------------------------------
|
|
18
18
|
#
|
|
19
19
|
[project]
|
|
20
|
-
version = "0.0.0.
|
|
20
|
+
version = "0.0.0.dev21"
|
|
21
21
|
name = "PySerials"
|
|
22
22
|
dependencies = [
|
|
23
23
|
"jsonschema >= 4.21.0, < 5",
|
|
@@ -26,8 +26,8 @@ dependencies = [
|
|
|
26
26
|
"ruamel.yaml >= 0.17.32, < 0.18", # https://yaml.readthedocs.io/en/stable/
|
|
27
27
|
"ruamel.yaml.string >= 0.1.1, < 1",
|
|
28
28
|
"tomlkit >= 0.11.8, < 0.12", # https://tomlkit.readthedocs.io/en/stable/,
|
|
29
|
-
"MDit == 0.0.0.
|
|
30
|
-
"ExceptionMan == 0.0.0.
|
|
29
|
+
"MDit == 0.0.0.dev18",
|
|
30
|
+
"ExceptionMan == 0.0.0.dev18",
|
|
31
31
|
"ProtocolMan == 0.0.0.dev2",
|
|
32
32
|
]
|
|
33
33
|
requires-python = ">=3.10"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PySerials
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev21
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: jsonschema<5,>=4.21.0
|
|
6
6
|
Requires-Dist: referencing>=0.35.1
|
|
@@ -8,6 +8,6 @@ Requires-Dist: jsonpath-ng<2,>=1.6.1
|
|
|
8
8
|
Requires-Dist: ruamel.yaml<0.18,>=0.17.32
|
|
9
9
|
Requires-Dist: ruamel.yaml.string<1,>=0.1.1
|
|
10
10
|
Requires-Dist: tomlkit<0.12,>=0.11.8
|
|
11
|
-
Requires-Dist: MDit==0.0.0.
|
|
12
|
-
Requires-Dist: ExceptionMan==0.0.0.
|
|
11
|
+
Requires-Dist: MDit==0.0.0.dev18
|
|
12
|
+
Requires-Dist: ExceptionMan==0.0.0.dev18
|
|
13
13
|
Requires-Dist: ProtocolMan==0.0.0.dev2
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Exceptions raised by `pyserials.read` module."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from typing import Literal as _Literal
|
|
4
|
+
from typing import Literal as _Literal
|
|
5
5
|
from pathlib import Path as _Path
|
|
6
6
|
|
|
7
7
|
import ruamel.yaml as _yaml
|
|
@@ -178,7 +178,7 @@ class PySerialsInvalidDataError(PySerialsReadException):
|
|
|
178
178
|
|
|
179
179
|
def make_table(problem, line, column, data_type):
|
|
180
180
|
items = [
|
|
181
|
-
_mdit.element.field_list_item(title=title,
|
|
181
|
+
_mdit.element.field_list_item(title=title, body=value) for title, value in [
|
|
182
182
|
["Description", problem],
|
|
183
183
|
["Line Number", line],
|
|
184
184
|
["Column Number", column],
|
|
@@ -189,16 +189,16 @@ class PySerialsInvalidDataError(PySerialsReadException):
|
|
|
189
189
|
|
|
190
190
|
content = {
|
|
191
191
|
"problem_details": _mdit.element.admonition(
|
|
192
|
-
make_table(self.problem, self.problem_line, self.problem_column, self.problem_data_type),
|
|
193
|
-
type="error",
|
|
194
192
|
title="Problem",
|
|
193
|
+
body=make_table(self.problem, self.problem_line, self.problem_column, self.problem_data_type),
|
|
194
|
+
type="error",
|
|
195
195
|
)
|
|
196
196
|
}
|
|
197
197
|
if self.context:
|
|
198
198
|
content["context_details"] = _mdit.element.admonition(
|
|
199
|
-
make_table(self.context, self.context_line, self.context_column, self.context_data_type),
|
|
200
|
-
type="note",
|
|
201
199
|
title="Context",
|
|
200
|
+
body=make_table(self.context, self.context_line, self.context_column, self.context_data_type),
|
|
201
|
+
type="note",
|
|
202
202
|
)
|
|
203
203
|
|
|
204
204
|
code_block_full = _mdit.element.code_block(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|