pytest-revealtype-injector 0.4.0__py3-none-any.whl → 0.4.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.
@@ -1,3 +1,3 @@
1
1
  """Pytest plugin for replacing reveal_type() calls inside test functions with static and runtime type checking result comparison, for confirming type annotation validity.""" # noqa: E501
2
2
 
3
- __version__ = "0.4.0"
3
+ __version__ = "0.4.1"
@@ -143,7 +143,7 @@ class MypyAdapter(TypeCheckerAdapter):
143
143
  "column": int,
144
144
  "message": str,
145
145
  "hint": s.Or(str, s.Schema(None)),
146
- "code": str,
146
+ "code": s.Or(str, s.Schema(None)),
147
147
  "severity": s.Or(
148
148
  s.Schema("note"),
149
149
  s.Schema("warning"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-revealtype-injector
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Pytest plugin for replacing reveal_type() calls inside test functions with static and runtime type checking result comparison, for confirming type annotation validity.
5
5
  Project-URL: homepage, https://github.com/abelcheung/pytest-revealtype-injector
6
6
  Author-email: Abel Cheung <abelcheung@gmail.com>
@@ -1,4 +1,4 @@
1
- pytest_revealtype_injector/__init__.py,sha256=hHWlJeHmCZawdklN1L2-t_-JGINlVjJ1fK6c2z5jzrA,211
1
+ pytest_revealtype_injector/__init__.py,sha256=k-C__DmqBTARle5nWLEixYPbSTx15HEKc1D6Rzbb2m0,211
2
2
  pytest_revealtype_injector/hooks.py,sha256=yOwey95EtwuImcveGXn5DaKhCgJ2cgFR16sLbJuXMwo,3169
3
3
  pytest_revealtype_injector/log.py,sha256=Ptd3yp1H1GlUum6BAwHc9cdyeGmaY8XYf0jp6qJmG4M,418
4
4
  pytest_revealtype_injector/main.py,sha256=nRh2uk64nsn9Y3PdGYew-Bhpfl0HZxmIur39RWpMNCk,5434
@@ -7,11 +7,11 @@ pytest_revealtype_injector/plugin.py,sha256=fkI6yF0dFVba0jEikIrsRp1NUQd2ohWLq4x2
7
7
  pytest_revealtype_injector/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  pytest_revealtype_injector/adapter/__init__.py,sha256=FRVB1eUrXaMzdQG0wRdIEKhx2dzGdyJcHDBb3eTTeOY,602
9
9
  pytest_revealtype_injector/adapter/basedpyright_.py,sha256=8LX7GmJmg4OZ3LKO5WoQ7Ocub6Lxi3HTStIorMApzUA,466
10
- pytest_revealtype_injector/adapter/mypy_.py,sha256=J9duK2hFo7lZMB_Lz8ccntqZerBFCQBhw--jqkGsUeE,8808
10
+ pytest_revealtype_injector/adapter/mypy_.py,sha256=lMaxQ4uTvSIG6cocOW7lGbPxLwQSv2p5cn4p2o6YOfg,8830
11
11
  pytest_revealtype_injector/adapter/pyright_.py,sha256=V0BE6sUJURtwXp_W5vP3EmIdXTL6pB8Yewq-L_YgCb0,5121
12
- pytest_revealtype_injector-0.4.0.dist-info/METADATA,sha256=rUmQ1UPMdTfkCXP7q8_OuU01NMAjLAXMUAnx-pqnL3E,5619
13
- pytest_revealtype_injector-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- pytest_revealtype_injector-0.4.0.dist-info/entry_points.txt,sha256=UfOm7y3WQnOoGV1mgTMb42MI6iBRPIl88FJiAOnt6SY,74
15
- pytest_revealtype_injector-0.4.0.dist-info/licenses/COPYING,sha256=LSYUX8PcSMvHCkhM5oi07eOrSLV89qdEJ-FVZmbcpNE,355
16
- pytest_revealtype_injector-0.4.0.dist-info/licenses/COPYING.mit,sha256=IzYEFDIOECyuupg_B3O9FvgjnU9i4JtambpbleoYHdQ,1060
17
- pytest_revealtype_injector-0.4.0.dist-info/RECORD,,
12
+ pytest_revealtype_injector-0.4.1.dist-info/METADATA,sha256=-uGUdEzM8KW0WPLAndPrAZxDaBOxTQ1GnTFuGHXIDeg,5619
13
+ pytest_revealtype_injector-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ pytest_revealtype_injector-0.4.1.dist-info/entry_points.txt,sha256=UfOm7y3WQnOoGV1mgTMb42MI6iBRPIl88FJiAOnt6SY,74
15
+ pytest_revealtype_injector-0.4.1.dist-info/licenses/COPYING,sha256=LSYUX8PcSMvHCkhM5oi07eOrSLV89qdEJ-FVZmbcpNE,355
16
+ pytest_revealtype_injector-0.4.1.dist-info/licenses/COPYING.mit,sha256=IzYEFDIOECyuupg_B3O9FvgjnU9i4JtambpbleoYHdQ,1060
17
+ pytest_revealtype_injector-0.4.1.dist-info/RECORD,,