esp-bool-parser 0.2.1__tar.gz → 0.2.3__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.
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.github/workflows/test-esp-bool-parser.yml +2 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.pre-commit-config.yaml +4 -4
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/CHANGELOG.md +15 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/PKG-INFO +1 -1
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/esp_bool_parser/__init__.py +1 -1
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/esp_bool_parser/bool_parser.py +3 -2
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/esp_bool_parser/utils.py +1 -1
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/pyproject.toml +1 -1
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.editorconfig +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.github/dependabot.yml +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.github/workflows/publish-pypi.yml +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.github/workflows/sync-jira.yml +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.github/workflows/test-build-docs.yml +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.gitignore +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/.readthedocs.yml +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/CONTRIBUTING.md +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/LICENSE +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/README.md +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/_apidoc_templates/module.rst_t +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/_apidoc_templates/package.rst_t +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/_apidoc_templates/toc.rst_t +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/_static/espressif-logo.svg +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/_static/theme_overrides.css +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/_templates/layout.html +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/conf_common.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/Makefile +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/api/esp_bool_parser.rst +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/api/modules.rst +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/conf.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/index.rst +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/others/CHANGELOG.md +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/docs/en/others/CONTRIBUTING.md +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/esp_bool_parser/constants.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/esp_bool_parser/py.typed +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/esp_bool_parser/soc_header.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/license_header.txt +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/tests/test_bool_parser.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/tests/test_load.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/tests/test_soc_caps.py +0 -0
- {esp_bool_parser-0.2.1 → esp_bool_parser-0.2.3}/tests/test_utils.py +0 -0
|
@@ -7,7 +7,7 @@ repos:
|
|
|
7
7
|
- id: mixed-line-ending
|
|
8
8
|
args: [ '-f=lf' ]
|
|
9
9
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
10
|
-
rev: v1.5.
|
|
10
|
+
rev: v1.5.6
|
|
11
11
|
hooks:
|
|
12
12
|
- id: insert-license
|
|
13
13
|
files: \.py$
|
|
@@ -17,7 +17,7 @@ repos:
|
|
|
17
17
|
- --use-current-year
|
|
18
18
|
exclude: 'idf_build_apps/vendors/'
|
|
19
19
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
20
|
-
rev: 'v0.
|
|
20
|
+
rev: 'v0.15.6'
|
|
21
21
|
hooks:
|
|
22
22
|
- id: ruff-check
|
|
23
23
|
args: ['--fix']
|
|
@@ -31,13 +31,13 @@ repos:
|
|
|
31
31
|
- pyparsing
|
|
32
32
|
- pytest
|
|
33
33
|
- repo: https://github.com/LilSpazJoekp/docstrfmt
|
|
34
|
-
rev: v2.0.
|
|
34
|
+
rev: v2.0.2
|
|
35
35
|
hooks:
|
|
36
36
|
- id: docstrfmt
|
|
37
37
|
types: [rst]
|
|
38
38
|
args: ['-l', '99999999999999999999999']
|
|
39
39
|
- repo: https://github.com/LilSpazJoekp/docstrfmt
|
|
40
|
-
rev: v2.0.
|
|
40
|
+
rev: v2.0.2
|
|
41
41
|
hooks:
|
|
42
42
|
- id: docstrfmt
|
|
43
43
|
types: [python]
|
|
@@ -20,6 +20,21 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<hr>
|
|
22
22
|
|
|
23
|
+
## v0.2.3 (2026-03-18)
|
|
24
|
+
|
|
25
|
+
### 🐛 Bug Fixes
|
|
26
|
+
|
|
27
|
+
- return false when no target is specified, instead of raising KeyError *(Fu Hanxi - 28e953d)*
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## v0.2.2 (2026-01-15)
|
|
31
|
+
|
|
32
|
+
### 🐛 Bug Fix
|
|
33
|
+
|
|
34
|
+
* Treat Pyparsing versions below 3.1 as legacy to ensure compatibility *(Igor Udot – 8a9b18e)*
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
23
38
|
## v0.2.1 (2026-01-15)
|
|
24
39
|
|
|
25
40
|
### 🔧 Code Refactoring
|
|
@@ -104,8 +104,9 @@ class ChipAttr(Stmt):
|
|
|
104
104
|
|
|
105
105
|
from .soc_header import SOC_HEADERS
|
|
106
106
|
|
|
107
|
-
if
|
|
108
|
-
|
|
107
|
+
if target:
|
|
108
|
+
if self.attr in SOC_HEADERS[target]:
|
|
109
|
+
return SOC_HEADERS[target][self.attr]
|
|
109
110
|
|
|
110
111
|
return 0 # default return 0 as false
|
|
111
112
|
|
|
@@ -77,7 +77,7 @@ def to_version(s: t.Any) -> Version:
|
|
|
77
77
|
raise InvalidInput(f'Invalid version: {s}')
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
_IS_OLD_PYPARSING = Version(pyparsing.__version__) < Version('3.
|
|
80
|
+
_IS_OLD_PYPARSING = Version(pyparsing.__version__) < Version('3.1')
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
def pp_set_parse_action(o):
|
|
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
|
|
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
|