typecheck-runner 0.2.1__tar.gz → 0.2.2__tar.gz

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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: typecheck-runner
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Unified api to multiple typecheckers
5
5
  Keywords: typecheck-runner
6
6
  Author: William P. Krekelberg
@@ -4,7 +4,7 @@ requires = ["uv-build>=0.12.24,<0.13.0"]
4
4
 
5
5
  [project]
6
6
  name = "typecheck-runner"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Unified api to multiple typecheckers"
9
9
  readme = "README.md"
10
10
  keywords = ["typecheck-runner"]
@@ -6,7 +6,7 @@ requires = [
6
6
 
7
7
  [project]
8
8
  name = "typecheck-runner"
9
- version = "0.2.1"
9
+ version = "0.2.2"
10
10
  description = "Unified api to multiple typecheckers"
11
11
  readme = "README.md"
12
12
  keywords = [
@@ -207,16 +207,16 @@ def _run_checker(
207
207
  ) -> int:
208
208
  cleaned_args = [os.fsdecode(arg) for arg in args]
209
209
  full_cmd = shlex.join(cleaned_args)
210
- logger.info("Command for %s: %s", checker, full_cmd)
210
+ logger.info("%s command: %s", checker, full_cmd)
211
211
 
212
212
  if dry_run:
213
213
  return 0
214
214
 
215
215
  start_time = perf_counter()
216
216
  returncode = subprocess.call(cleaned_args)
217
- logger.info("Execution time for %s: %s", checker, perf_counter() - start_time)
217
+ logger.info("%s execution time: %s", checker, perf_counter() - start_time)
218
218
  if returncode:
219
- logger.error("Exit code for %s: %s", checker, returncode)
219
+ logger.error("%s exit code: %s", checker, returncode)
220
220
 
221
221
  return returncode
222
222
 
@@ -419,7 +419,8 @@ def main(args: Sequence[str] | None = None) -> int:
419
419
  uvx_delimiter=options.uvx_delimiter,
420
420
  uvx_options=uvx_options,
421
421
  )
422
- logger.info("Checker: %s", checker)
422
+ _ = sys.stderr.write(f"\n> {checker}\n")
423
+ logger.info("%s checker", checker)
423
424
  checker_code = _run_checker(
424
425
  *args,
425
426
  *_get_python_flags(checker, python_version, python_executable),