Skip to content

Commit 3d54f0a

Browse files
Merge branch 'TheAlgorithms:master' into master
2 parents 552e565 + e3bd772 commit 3d54f0a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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):

scripts/validate_filenames.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!python
22
import os
33

44
try:

0 commit comments

Comments
 (0)