Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](astral-sh/ruff-pre-commit@v0.6.9...v0.7.0)
  • Loading branch information
pre-commit-ci[bot] authored and skshetry committed Oct 22, 2024
1 parent b457b21 commit a7dd601
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -20,7 +20,7 @@ repos:
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.6.9'
rev: 'v0.7.0'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/scmrepo/git/lfs/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _as_atomic(to_info: str, create_parents: bool = False) -> Iterator[str]:
if create_parents:
os.makedirs(parent, exist_ok=True)

tmp_file = NamedTemporaryFile(dir=parent, delete=False)
tmp_file = NamedTemporaryFile(dir=parent, delete=False) # noqa: SIM115
tmp_file.close()
try:
yield tmp_file.name
Expand Down

0 comments on commit a7dd601

Please sign in to comment.