guppylang-internals 0.21.2__py3-none-any.whl → 0.22.0__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.
@@ -1,3 +1,3 @@
1
1
  # This is updated by our release-please workflow, triggered by this
2
2
  # annotation: x-release-please-version
3
- __version__ = "0.21.2"
3
+ __version__ = "0.22.0"
@@ -131,7 +131,10 @@ class ContextAdjuster(ast.NodeTransformer):
131
131
  def visit_Name(self, node: ast.Name) -> ast.Name:
132
132
  return with_loc(node, ast.Name(id=node.id, ctx=self.ctx))
133
133
 
134
- def visit_Starred(self, node: ast.Starred) -> ast.Starred:
134
+ def visit_Starred(
135
+ self,
136
+ node: ast.Starred,
137
+ ) -> ast.Starred:
135
138
  return with_loc(node, ast.Starred(value=self.visit(node.value), ctx=self.ctx))
136
139
 
137
140
  def visit_Tuple(self, node: ast.Tuple) -> ast.Tuple:
@@ -234,7 +237,11 @@ def set_location_from(node: ast.AST, loc: ast.AST) -> None:
234
237
 
235
238
 
236
239
  def annotate_location(
237
- node: ast.AST, source: str, file: str, line_offset: int, recurse: bool = True
240
+ node: ast.AST,
241
+ source: str,
242
+ file: str,
243
+ line_offset: int,
244
+ recurse: bool = True,
238
245
  ) -> None:
239
246
  node.line_offset = line_offset # type: ignore[attr-defined]
240
247
  node.file = file # type: ignore[attr-defined]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: guppylang-internals
3
- Version: 0.21.2
3
+ Version: 0.22.0
4
4
  Summary: Compiler internals for `guppylang` package.
5
5
  Author-email: Mark Koch <mark.koch@quantinuum.com>, TKET development team <tket-support@quantinuum.com>
6
6
  Maintainer-email: Mark Koch <mark.koch@quantinuum.com>, TKET development team <tket-support@quantinuum.com>
@@ -1,5 +1,5 @@
1
- guppylang_internals/__init__.py,sha256=lBdgf2-qLhtEr9FIbujNKmIcHIcyDf0li2vjfCwFyPo,130
2
- guppylang_internals/ast_util.py,sha256=I-SdMwi5cgSQRSV1C1RsBXeU2ovLEvvUpTzpoRwrIeE,11799
1
+ guppylang_internals/__init__.py,sha256=ujqNmbipMChVyLtvKKLuo2SLLdDBKRFnvLFmWzbn3rk,130
2
+ guppylang_internals/ast_util.py,sha256=Y_7MoilGpahv7tJ1xN5nVGIELZlhk-5h_9AbI3qixZg,11839
3
3
  guppylang_internals/decorator.py,sha256=-A3Xml0uvS4DJGd138ZjdP9aiK_orHCaJpF8IR0JSu8,8742
4
4
  guppylang_internals/diagnostic.py,sha256=VCpIhyVD8KPtk0GDYMa8XH0lKVsRbsWNu_ucE2jQT2I,18395
5
5
  guppylang_internals/dummy_decorator.py,sha256=LXTXrdcrr55YzerX3qrHS23q6S9pVdpUAvhprWzKH6E,2330
@@ -92,7 +92,7 @@ guppylang_internals/tys/printing.py,sha256=F60SZsvqDRNMQSbgNDfBDt2pYQH2ueaZo7Obm
92
92
  guppylang_internals/tys/subst.py,sha256=REFbw2POB6wGw-NBOZ4K4T6gE5FZe6nQ_VjcUmhOxCs,3430
93
93
  guppylang_internals/tys/ty.py,sha256=ejvC8fg-BpaCf0Cs9sZIBjaKW2yQwapOG_KbThCkoKg,30973
94
94
  guppylang_internals/tys/var.py,sha256=zACXv2IvGrqjDryC6lMyZpNnDb3SBRM2SlTOyq6WJdo,1173
95
- guppylang_internals-0.21.2.dist-info/METADATA,sha256=XPqewzNWXtMqb1qQ_MMt80-kgQqt7Pkqtys2MjmQv2c,14817
96
- guppylang_internals-0.21.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
97
- guppylang_internals-0.21.2.dist-info/licenses/LICENCE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
- guppylang_internals-0.21.2.dist-info/RECORD,,
95
+ guppylang_internals-0.22.0.dist-info/METADATA,sha256=dHJdxpTIpdhBG1Vy61FEpdakHmMPKYlicT9RmxRSKgQ,14817
96
+ guppylang_internals-0.22.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
97
+ guppylang_internals-0.22.0.dist-info/licenses/LICENCE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
+ guppylang_internals-0.22.0.dist-info/RECORD,,