diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8383861..74e3c19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,13 +10,13 @@ repos: - id: check-merge-conflict - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 8.0.1 hooks: - id: isort args: [--profile, black, --line-length=79] - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: @@ -24,8 +24,8 @@ repos: config: ./setup.cfg exclude: migrations -- repo: https://github.com/psf/black - rev: 23.10.1 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black args: [--line-length=79] diff --git a/config/settings.py b/config/settings.py index 8423576..443dd35 100644 --- a/config/settings.py +++ b/config/settings.py @@ -9,6 +9,7 @@ For the full list of settings and their values, see https://docs.djangoproject.com/en/5.0/ref/settings/ """ + import os from pathlib import Path diff --git a/manage.py b/manage.py index d28672e..aabb818 100755 --- a/manage.py +++ b/manage.py @@ -1,5 +1,6 @@ #!/usr/bin/env python """Django's command-line utility for administrative tasks.""" + import os import sys