Skip to content

Commit

Permalink
pre-commit autoupdate (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 authored Jan 16, 2025
1 parent d5ea997 commit af5cdfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
- id: check-toml
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.9.1
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand All @@ -21,7 +21,7 @@ repos:
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.0
rev: v1.14.1
hooks:
- id: mypy
args: [--strict, --ignore-missing-imports]
Expand Down
6 changes: 3 additions & 3 deletions scripts/validate-filenames.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def main(paths: list[Path]) -> None:
assert code == 200, f"{path=!s}: Invalid {collection_id=}"

# Check assessment category
assert (
assessment_category in ASSESSMENT_CATEGORIES
), f"{path=!s}: Invalid {assessment_category=}"
assert assessment_category in ASSESSMENT_CATEGORIES, (
f"{path=!s}: Invalid {assessment_category=}"
)

# Check question number
assert len(question_number) == 3, f"{path=!s}: Invalid {question_number=}"
Expand Down

0 comments on commit af5cdfb

Please sign in to comment.