Skip to content

Commit e3f3d66

Browse files
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12370)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](astral-sh/ruff-pre-commit@v0.7.2...v0.7.3) - [github.com/abravalheri/validate-pyproject: v0.22 → v0.23](abravalheri/validate-pyproject@v0.22...v0.23) * Update sudoku_solver.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <[email protected]>
1 parent 3e9ca92 commit e3f3d66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: auto-walrus
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.7.2
19+
rev: v0.7.3
2020
hooks:
2121
- id: ruff
2222
- id: ruff-format
@@ -42,7 +42,7 @@ repos:
4242
pass_filenames: false
4343

4444
- repo: https://github.com/abravalheri/validate-pyproject
45-
rev: v0.22
45+
rev: v0.23
4646
hooks:
4747
- id: validate-pyproject
4848

data_structures/arrays/sudoku_solver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def unitsolved(unit):
172172

173173
def from_file(filename, sep="\n"):
174174
"Parse a file into a list of strings, separated by sep."
175-
return open(filename).read().strip().split(sep) # noqa: SIM115
175+
return open(filename).read().strip().split(sep)
176176

177177

178178
def random_puzzle(assignments=17):

0 commit comments

Comments
 (0)