Compare commits

..

1 Commits

Author SHA1 Message Date
Scarfinos
140fe481de
Merge 23fac3c479 into 3e9ca92ca9 2024-11-06 18:34:37 +09:00
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ repos:
- id: auto-walrus
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.7.2
hooks:
- id: ruff
- id: ruff-format
@ -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

@ -172,7 +172,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: