polyglot-piranha 0.3.31__cp311-cp311-manylinux_2_34_x86_64.whl → 0.3.32__cp311-cp311-manylinux_2_34_x86_64.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.
@@ -227,7 +227,7 @@ class Rule:
227
227
  "Filters to test before applying a rule"
228
228
  is_seed_rule: bool
229
229
  "Marks a rule as a seed rule"
230
- delete_comments: bool
230
+ keep_comment_regexes: set[str]
231
231
  "Make comment deleting optional"
232
232
 
233
233
  def __init__(
@@ -240,7 +240,7 @@ class Rule:
240
240
  holes: set[str] = set(),
241
241
  filters: set[Filter] = set(),
242
242
  is_seed_rule: bool = True,
243
- delete_comments: bool = True,
243
+ keep_comment_regexes: Optional[set[str]] = None,
244
244
  ):
245
245
  """
246
246
  Constructs `Rule`
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: polyglot_piranha
3
- Version: 0.3.31
3
+ Version: 0.3.32
4
4
  License-File: LICENSE
5
5
  License-File: NOTICE
6
6
  Summary: Polyglot Piranha is a library for performing structural find and replace with deep cleanup.
@@ -0,0 +1,11 @@
1
+ LICENSE,sha256=7qqytxojDvLpt8CphcCVvEQilegiJ0x_oDkwHJU-1z4,11359
2
+ NOTICE,sha256=9bEJKCdL0MABjEknpMHXbYBZSkGVGRXYcSxSXS293X0,147
3
+ polyglot_piranha-0.3.32.dist-info/METADATA,sha256=NM_XLFAlvhPY4vcl-sH0iBRtBV0aANBkRDiSZPiutMM,4918
4
+ polyglot_piranha-0.3.32.dist-info/WHEEL,sha256=5ScJWkxvqQ-nWejUF7wRSlmpCfIbKoLj7EbC7UQvwI4,108
5
+ polyglot_piranha-0.3.32.dist-info/licenses/LICENSE,sha256=7qqytxojDvLpt8CphcCVvEQilegiJ0x_oDkwHJU-1z4,11359
6
+ polyglot_piranha-0.3.32.dist-info/licenses/NOTICE,sha256=9bEJKCdL0MABjEknpMHXbYBZSkGVGRXYcSxSXS293X0,147
7
+ polyglot_piranha/__init__.py,sha256=pghVgChf0-NgAG_zd7CzKtvFuBDxg5Wh-GcHx2PoTzg,147
8
+ polyglot_piranha/__init__.pyi,sha256=Aef4ZhgaF9WkC5tmBDCLSPmO2_qZUa_hIFf42fpDrD8,10802
9
+ polyglot_piranha/polyglot_piranha.cpython-311-x86_64-linux-gnu.so,sha256=RNBIHOvWcJLESiXppMqwYYENxSc7LZwWt-jqdS1ed-8,78741400
10
+ polyglot_piranha/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ polyglot_piranha-0.3.32.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- LICENSE,sha256=7qqytxojDvLpt8CphcCVvEQilegiJ0x_oDkwHJU-1z4,11359
2
- NOTICE,sha256=9bEJKCdL0MABjEknpMHXbYBZSkGVGRXYcSxSXS293X0,147
3
- polyglot_piranha-0.3.31.dist-info/METADATA,sha256=JptqKltU8tDdFyjVFpwERODYPo6OOBULMzfvNaMN_Dc,4918
4
- polyglot_piranha-0.3.31.dist-info/WHEEL,sha256=5ScJWkxvqQ-nWejUF7wRSlmpCfIbKoLj7EbC7UQvwI4,108
5
- polyglot_piranha-0.3.31.dist-info/licenses/LICENSE,sha256=7qqytxojDvLpt8CphcCVvEQilegiJ0x_oDkwHJU-1z4,11359
6
- polyglot_piranha-0.3.31.dist-info/licenses/NOTICE,sha256=9bEJKCdL0MABjEknpMHXbYBZSkGVGRXYcSxSXS293X0,147
7
- polyglot_piranha/__init__.py,sha256=pghVgChf0-NgAG_zd7CzKtvFuBDxg5Wh-GcHx2PoTzg,147
8
- polyglot_piranha/__init__.pyi,sha256=yAwOSOFIsxdByRVJ6-38VM2LtkVgrMPa4E3hNEnPwVU,10774
9
- polyglot_piranha/polyglot_piranha.cpython-311-x86_64-linux-gnu.so,sha256=NITXZTzP8ZaTPKAmdh6QjB5KuWqZ0a2DK9dRRVK10uQ,77877984
10
- polyglot_piranha/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- polyglot_piranha-0.3.31.dist-info/RECORD,,