From b54be191bb419d55506f473cde8840375c21928d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 17:18:06 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v6.0.0) - [github.com/PyCQA/autoflake: v2.0.0 → v2.3.3](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.3.3) - [github.com/pycqa/isort: 5.10.1 → 9.0.0b1](https://github.com/pycqa/isort/compare/5.10.1...9.0.0b1) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 22.10.0 → 26.5.1](https://github.com/psf/black-pre-commit-mirror/compare/22.10.0...26.5.1) - [github.com/asottile/blacken-docs: v1.12.1 → 1.20.0](https://github.com/asottile/blacken-docs/compare/v1.12.1...1.20.0) - [github.com/PyCQA/flake8: 6.0.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/6.0.0...7.3.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6725d75..ce8eb28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: '^docs/conf.py|manage\.template$' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-added-large-files @@ -18,7 +18,7 @@ repos: args: ['--fix=lf'] - repo: https://github.com/PyCQA/autoflake - rev: v2.0.0 + rev: v2.3.3 hooks: - id: autoflake args: [ @@ -28,24 +28,24 @@ repos: ] - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 9.0.0b1 hooks: - id: isort -- repo: https://github.com/psf/black - rev: 22.10.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.5.1 hooks: - id: black language_version: python3 - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: [black] - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: [flake8-bugbear] From 91051719a6dd360196ab1fb993962389ef3f3b0a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2026 17:18:42 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.py | 11 ++++++----- tests/conftest.py | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index d7f4d3e..1759cb4 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,12 @@ """ - Setup file for pyscaffoldext-django. - Use setup.cfg to configure your project. +Setup file for pyscaffoldext-django. +Use setup.cfg to configure your project. - This file was generated with PyScaffold 4.0b3. - PyScaffold helps you to put up the scaffold of your new Python project. - Learn more under: https://pyscaffold.org/ +This file was generated with PyScaffold 4.0b3. +PyScaffold helps you to put up the scaffold of your new Python project. +Learn more under: https://pyscaffold.org/ """ + from setuptools import setup if __name__ == "__main__": diff --git a/tests/conftest.py b/tests/conftest.py index e78a618..910d5bc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,7 @@ A nice option is to put your ``autouse`` fixtures here. Functions that can be imported and re-used are more suitable for the ``helpers`` file. """ + import logging import os from pathlib import Path