pytest-revealtype-injector 0.7.0__py3-none-any.whl → 0.7.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.7.0"
3
+ __version__ = "0.7.1"
@@ -79,8 +79,8 @@ class PyreflyAdapter(TypeCheckerAdapter):
79
79
  raise FileNotFoundError(f"{self._executable} is required to run test suite")
80
80
 
81
81
  cmd.extend(["check", "--output-format", "json"])
82
- if True: # TODO Needs to detect python version from project
83
- cmd.extend(["--python-version", "3.11"])
82
+ if self.config_file is not None:
83
+ cmd.extend(["-c", str(self.config_file)])
84
84
  cmd.extend(str(p) for p in paths)
85
85
 
86
86
  _logger.debug(f"({self.id}) Run command: {cmd}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-revealtype-injector
3
- Version: 0.7.0
3
+ Version: 0.7.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=RIqY1Ox_ec-Yvnq9T-Q1NRChH1IHydvUAhR6Qb_6yFw,211
1
+ pytest_revealtype_injector/__init__.py,sha256=harACT0UENE1yOuofWYJrvZsXKjjQKWacY_O3Ha0Qbk,211
2
2
  pytest_revealtype_injector/hooks.py,sha256=ls6CK8BfZ0kr5YIRzTJ2e4NCGhDHYLf46JN_cqLassU,5036
3
3
  pytest_revealtype_injector/log.py,sha256=Ptd3yp1H1GlUum6BAwHc9cdyeGmaY8XYf0jp6qJmG4M,418
4
4
  pytest_revealtype_injector/main.py,sha256=k8B0plBAXolo994sfzQfpjGhytb6Vz3YRKa192s0x_s,5672
@@ -8,11 +8,11 @@ pytest_revealtype_injector/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
8
8
  pytest_revealtype_injector/adapter/__init__.py,sha256=8RvzccYXKBjj3718Io8_lqiL35O5mfHprKobwO8ioPI,762
9
9
  pytest_revealtype_injector/adapter/basedpyright_.py,sha256=8LX7GmJmg4OZ3LKO5WoQ7Ocub6Lxi3HTStIorMApzUA,466
10
10
  pytest_revealtype_injector/adapter/mypy_.py,sha256=5J2SlbT78dS4KmMRted5RzYv5G7KGCbTH1JgJ_FkXHQ,9318
11
- pytest_revealtype_injector/adapter/pyrefly_.py,sha256=F3r1lwA8pJdOPZqMrV60UvRowGYRbq6x2YwoTjxuU24,4192
11
+ pytest_revealtype_injector/adapter/pyrefly_.py,sha256=nJOUVl8SBuoOZbEj1vOuzRRsDG0kURSSKADBdd5sdV0,4165
12
12
  pytest_revealtype_injector/adapter/pyright_.py,sha256=7yYruxrom11m-g-qZTwhmmo3zTchRrNxB7YGv9bHMEA,4099
13
13
  pytest_revealtype_injector/adapter/ty_.py,sha256=fRkIj-xi0KzeJtP_RfmWIrNFFDDDH66mzV7OzuhXnUg,4658
14
- pytest_revealtype_injector-0.7.0.dist-info/METADATA,sha256=8rvNDzCseFGLZBpMD15ESD1NPRYlEHZ1qmRYX542rBY,6959
15
- pytest_revealtype_injector-0.7.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- pytest_revealtype_injector-0.7.0.dist-info/entry_points.txt,sha256=UfOm7y3WQnOoGV1mgTMb42MI6iBRPIl88FJiAOnt6SY,74
17
- pytest_revealtype_injector-0.7.0.dist-info/licenses/COPYING.mit,sha256=IzYEFDIOECyuupg_B3O9FvgjnU9i4JtambpbleoYHdQ,1060
18
- pytest_revealtype_injector-0.7.0.dist-info/RECORD,,
14
+ pytest_revealtype_injector-0.7.1.dist-info/METADATA,sha256=l15j6RO5_gF7W7GQST5U4EUTX32RsHLtJB25vWggzPE,6959
15
+ pytest_revealtype_injector-0.7.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ pytest_revealtype_injector-0.7.1.dist-info/entry_points.txt,sha256=UfOm7y3WQnOoGV1mgTMb42MI6iBRPIl88FJiAOnt6SY,74
17
+ pytest_revealtype_injector-0.7.1.dist-info/licenses/COPYING.mit,sha256=IzYEFDIOECyuupg_B3O9FvgjnU9i4JtambpbleoYHdQ,1060
18
+ pytest_revealtype_injector-0.7.1.dist-info/RECORD,,