esp-bool-parser 0.2.2__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.2 → esp_bool_parser-0.2.3}/.pre-commit-config.yaml +4 -4
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/CHANGELOG.md +7 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/PKG-INFO +1 -1
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/esp_bool_parser/__init__.py +1 -1
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/esp_bool_parser/bool_parser.py +3 -2
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/pyproject.toml +1 -1
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.editorconfig +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.github/dependabot.yml +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.github/workflows/publish-pypi.yml +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.github/workflows/sync-jira.yml +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.github/workflows/test-build-docs.yml +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.github/workflows/test-esp-bool-parser.yml +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.gitignore +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/.readthedocs.yml +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/CONTRIBUTING.md +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/LICENSE +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/README.md +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/_apidoc_templates/module.rst_t +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/_apidoc_templates/package.rst_t +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/_apidoc_templates/toc.rst_t +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/_static/espressif-logo.svg +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/_static/theme_overrides.css +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/_templates/layout.html +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/conf_common.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/Makefile +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/api/esp_bool_parser.rst +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/api/modules.rst +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/conf.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/index.rst +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/others/CHANGELOG.md +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/docs/en/others/CONTRIBUTING.md +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/esp_bool_parser/constants.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/esp_bool_parser/py.typed +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/esp_bool_parser/soc_header.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/esp_bool_parser/utils.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/license_header.txt +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/tests/test_bool_parser.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/tests/test_load.py +0 -0
- {esp_bool_parser-0.2.2 → esp_bool_parser-0.2.3}/tests/test_soc_caps.py +0 -0
- {esp_bool_parser-0.2.2 → 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]
|
|
@@ -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
|
|
|
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
|
|
File without changes
|
|
File without changes
|