diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e352f7dcb48..39daf3dd7f88 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,20 +19,20 @@ repos: - id: auto-walrus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.4 + rev: v0.15.9 hooks: - id: ruff-check - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell additional_dependencies: - tomli - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.16.2 + rev: v2.21.0 hooks: - id: pyproject-fmt diff --git a/pyproject.toml b/pyproject.toml index 6ec899d7840f..34e099a46435 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -165,6 +165,9 @@ skip = """\ nary.txt,strings/words.txt\ """ +[tool.mypy] +python_version = "3.14" + [tool.pytest] ini_options.markers = [ "mat_ops: mark a test as utilizing matrix operations.", @@ -182,9 +185,6 @@ report.omit = [ ] report.sort = "Cover" -[tool.mypy] -python_version = "3.14" - [tool.sphinx-pyproject] copyright = "2014, TheAlgorithms" autoapi_dirs = [