Skip to content

Commit

Permalink
Bump Ruff to 0.0.282
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Aug 1, 2023
1 parent 4bb7974 commit a3cf38b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
- id: check-readthedocs

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.281
rev: v0.0.282
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
4 changes: 3 additions & 1 deletion singer_sdk/testing/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ def target_input(self) -> t.IO[str]:
if self.input_io:
self._input = self.input_io
elif self.input_filepath:
self._input = Path(self.input_filepath).open(encoding="utf8")
self._input = Path(self.input_filepath).open( # noqa: SIM115
encoding="utf8",
)
return t.cast(t.IO[str], self._input)

@target_input.setter
Expand Down

0 comments on commit a3cf38b

Please sign in to comment.