Compare commits

..

1 Commits

Author SHA1 Message Date
Ronald Ngounou
2ca6733795
Merge 17264a496b into a19bede190 2024-11-01 13:50:06 +01:00
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ repos:
- id: auto-walrus
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
rev: v0.7.1
hooks:
- id: ruff
- id: ruff-format
@ -29,7 +29,7 @@ repos:
- tomli
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.5.0"
rev: "v2.4.3"
hooks:
- id: pyproject-fmt
@ -42,7 +42,7 @@ repos:
pass_filenames: false
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.23
rev: v0.22
hooks:
- id: validate-pyproject

View File

@ -193,7 +193,7 @@ def solved(values):
def from_file(filename, sep="\n"):
"Parse a file into a list of strings, separated by sep."
return open(filename).read().strip().split(sep)
return open(filename).read().strip().split(sep) # noqa: SIM115
def random_puzzle(assignments=17):

View File

@ -1,4 +1,4 @@
#!python
#!/usr/bin/env python3
import os
try: