diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5ab36e3..db95394 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 8.0.1 hooks: - id: isort additional_dependencies: [toml] - - repo: https://github.com/psf/black - rev: 24.4.2 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -28,7 +28,7 @@ repos: args: ["--remove"] - id: requirements-txt-fixer - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/pycqa/pydocstyle diff --git a/example/manage.py b/example/manage.py index 195f6b9..fda21c1 100755 --- a/example/manage.py +++ b/example/manage.py @@ -1,5 +1,6 @@ #!/usr/bin/env python """Entrypoint for custom django functions.""" + import os import sys diff --git a/example/simpletext/tests.py b/example/simpletext/tests.py index f51d798..73d6465 100644 --- a/example/simpletext/tests.py +++ b/example/simpletext/tests.py @@ -16,11 +16,9 @@ class SimpleTest(TestCase): self.assertEqual(1 + 1, 2) -__test__ = { - "doctest": """ +__test__ = {"doctest": """ Another way to test that 1 + 1 is equal to 2. >>> 1 + 1 == 2 True -""" -} +"""}