diff --git a/src/validate_pyproject/cli.py b/src/validate_pyproject/cli.py index e5f0ad5..37a5971 100644 --- a/src/validate_pyproject/cli.py +++ b/src/validate_pyproject/cli.py @@ -240,7 +240,7 @@ def run(args: Sequence[str] = ()) -> int: def _run_on_file(validator: Validator, params: CliParams, file: io.TextIOBase) -> None: - if file in (sys.stdin, _STDIN): # type: ignore[comparison-overlap] + if file in (sys.stdin, _STDIN): print("Expecting input via `stdin`...", file=sys.stderr, flush=True) toml_equivalent = tomllib.loads(file.read())