Skip to content

Commit

Permalink
Remove MyPy ignore directive
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Aug 7, 2024
1 parent e1aa946 commit a9cabc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validate_pyproject/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit a9cabc0

Please sign in to comment.