idf-build-apps 2.12.0__py3-none-any.whl → 2.12.1__py3-none-any.whl

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.
@@ -8,7 +8,7 @@ Tools for building ESP-IDF related apps.
8
8
  # ruff: noqa: E402
9
9
  # avoid circular imports
10
10
 
11
- __version__ = '2.12.0'
11
+ __version__ = '2.12.1'
12
12
 
13
13
  from .session_args import (
14
14
  SessionArgs,
idf_build_apps/args.py CHANGED
@@ -856,20 +856,19 @@ class BuildArguments(FindBuildArguments):
856
856
  def model_post_init(self, __context: Any) -> None:
857
857
  super().model_post_init(__context)
858
858
 
859
- ignore_warnings_regexes = []
859
+ patterns = []
860
860
  if self.ignore_warning_strs:
861
- for s in self.ignore_warning_strs:
862
- ignore_warnings_regexes.append(re.compile(s))
861
+ patterns.extend(self.ignore_warning_strs)
862
+
863
863
  if self.ignore_warning_files:
864
864
  for f in self.ignore_warning_files:
865
865
  if isinstance(f, str):
866
866
  with open(f) as fr:
867
- for s in fr:
868
- ignore_warnings_regexes.append(re.compile(s.strip()))
867
+ patterns.extend(line.strip() for line in fr)
869
868
  else:
870
- for s in f:
871
- ignore_warnings_regexes.append(re.compile(s.strip()))
872
- App.IGNORE_WARNS_REGEXES = ignore_warnings_regexes
869
+ patterns.extend(f)
870
+
871
+ App.IGNORE_WARNS_REGEXES = [re.compile(p.strip()) for p in patterns if p.strip()]
873
872
 
874
873
  @computed_field # type: ignore
875
874
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idf-build-apps
3
- Version: 2.12.0
3
+ Version: 2.12.1
4
4
  Summary: Tools for building ESP-IDF related apps.
5
5
  Author-email: Fu Hanxi <fuhanxi@espressif.com>
6
6
  Requires-Python: >=3.7
@@ -1,7 +1,7 @@
1
- idf_build_apps/__init__.py,sha256=SRpJLsenairxEG76BDWkuxQt3p_gJ7ZDI1Sr8JayilU,711
1
+ idf_build_apps/__init__.py,sha256=jLG3VCE5fMIO-Zpaj5NKV5VTXqzNr69_PBXu7bwh5gc,711
2
2
  idf_build_apps/__main__.py,sha256=pT6OsFQRjCw39Jg43HAeGKzq8h5E_0m7kHDE2QMqDe0,182
3
3
  idf_build_apps/app.py,sha256=-pP1vCPGYePFr9nO-Y00WfQ4Bg5DWyHlH_gWDtvAZio,39181
4
- idf_build_apps/args.py,sha256=rt8CQUiWtgADgVtvv4R7JSzAOlFGYqNPGeNNfX8mnsI,40257
4
+ idf_build_apps/args.py,sha256=m1tJl75P3yuDIaxQpg4bL8UIe2j_R1tNvQW_vpyR1AU,40099
5
5
  idf_build_apps/autocompletions.py,sha256=2fZQxzgZ21ie_2uk-B-7-xWYCChfOSgRFRYb7I2Onfo,2143
6
6
  idf_build_apps/constants.py,sha256=2iwLPZRhSQcn1v4RAcOJnHbqp1fDTp6A1gHaxn5ciTE,2166
7
7
  idf_build_apps/finder.py,sha256=gpOcpGrzAGiBVRCgKQ_YW22_OUJv-D-hMApuE-tPhVQ,5644
@@ -20,8 +20,8 @@ idf_build_apps/vendors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
20
20
  idf_build_apps/vendors/pydantic_sources.py,sha256=cxSIPRc3eI5peVMhDxwf58YaGhuG4SCwPRVX2znFEek,4553
21
21
  idf_build_apps/yaml/__init__.py,sha256=R6pYasVsD31maeZ4dWRZnS10hwzM7gXdnfzDsOIRJ-4,167
22
22
  idf_build_apps/yaml/parser.py,sha256=IhY7rCWXOxrzzgEiKipTdPs_8yXDf8JZr-sMewV1pk8,2133
23
- idf_build_apps-2.12.0.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
24
- idf_build_apps-2.12.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
- idf_build_apps-2.12.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
26
- idf_build_apps-2.12.0.dist-info/METADATA,sha256=b_zMQBsp3JjRhO30xXyahg7FGvmfJr5SQ49Eh5hNWsI,4795
27
- idf_build_apps-2.12.0.dist-info/RECORD,,
23
+ idf_build_apps-2.12.1.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
24
+ idf_build_apps-2.12.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
+ idf_build_apps-2.12.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
26
+ idf_build_apps-2.12.1.dist-info/METADATA,sha256=9QsZhWmo-I-RNRwcOit0XozghfY3vxiPusnDTDEK3WQ,4795
27
+ idf_build_apps-2.12.1.dist-info/RECORD,,