diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8687e52..fe6bf3b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,18 +20,18 @@ repos: exclude: ^docs/.*|.*.md - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.2.0 hooks: - id: black language_version: python3 - repo: https://github.com/adrienverge/yamllint.git - rev: v1.33.0 + rev: v1.34.0 hooks: - id: yamllint args: ["-d", "relaxed"] - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 diff --git a/demo/urls.py b/demo/urls.py index a257a2d..efb8501 100644 --- a/demo/urls.py +++ b/demo/urls.py @@ -8,6 +8,7 @@ ... ] """ + try: from django.urls import include from django.urls import re_path as path