Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e3f3d66

Browse files
pre-commit-ci[bot]cclauss
andauthored
[pre-commit.ci] pre-commit autoupdate (#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 <cclauss@me.com>
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /