diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b3f26d67..5fcc2473 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: a30f0d816e5062a67d87c8de753cfe499672b959 # frozen: v1.5.5 + rev: ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6 hooks: - id: insert-license files: '^src/.+\.py$|^tests/.+\.py$' @@ -28,11 +28,11 @@ repos: files: '^src/.+\.py$' args: ['--never', '--application-directories', 'src'] - repo: https://github.com/PyCQA/isort - rev: 0a09c783808cfe77bb3269250f663ff733d23302 # frozen: 7.0.0 + rev: 3459bdee0962449aad91235273c3fd1306dfebe5 # frozen: 8.0.0 hooks: - id: isort - repo: https://github.com/psf/black-pre-commit-mirror - rev: 831207fd435b47aeffdf6af853097e64322b4d44 # frozen: 25.12.0 + rev: ea488cebbfd88a5f50b8bd95d5c829d0bb76feb8 # frozen: 26.1.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/scripts/mypyc_tox b/scripts/mypyc_tox index 43cc3744..4a6ce7b1 100755 --- a/scripts/mypyc_tox +++ b/scripts/mypyc_tox @@ -9,6 +9,7 @@ to support mypyc builds. The change is reverted before exiting. This also sets the `TOMLI_USE_MYPYC=1` environment variable that setup.py reads to enable mypyc. """ + import os from pathlib import Path import shutil diff --git a/tomllib.md b/tomllib.md index 39dcabc8..d8808d63 100644 --- a/tomllib.md +++ b/tomllib.md @@ -35,7 +35,6 @@ matches Tomli commit https://github.com/hukkin/tomli/commit/7e563eed5286b5d46b82 from . import load_tests - unittest.main() ```