Compare commits

..

1 Commits

Author SHA1 Message Date
Rudra__
a4d986f169
Merge db6a052a62 into 3e9ca92ca9 2024-11-07 07:52:08 +08: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: