From 47cb6c4256c120a1ed42067c6bd87163582f4246 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 21:01:56 +0000 Subject: [PATCH] [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.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/python-poetry/poetry: 1.7.0 → 1.8.0](https://github.com/python-poetry/poetry/compare/1.7.0...1.8.0) - [github.com/adamchainz/django-upgrade: 1.15.0 → 1.22.1](https://github.com/adamchainz/django-upgrade/compare/1.15.0...1.22.1) - [github.com/asottile/pyupgrade: v3.15.0 → v3.18.0](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.18.0) - [github.com/psf/black: 23.12.1 → 24.10.0](https://github.com/psf/black/compare/23.12.1...24.10.0) - [github.com/pycqa/flake8: 6.1.0 → 7.1.1](https://github.com/pycqa/flake8/compare/6.1.0...7.1.1) - [github.com/PyCQA/bandit: 1.7.6 → 1.7.10](https://github.com/PyCQA/bandit/compare/1.7.6...1.7.10) - [github.com/Riverside-Healthcare/djLint: v1.34.1 → v1.35.2](https://github.com/Riverside-Healthcare/djLint/compare/v1.34.1...v1.35.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.11.2) --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3095fcd3..a494dcf0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,9 @@ exclude: '^docs/|/migrations/' -default_stages: [commit] +default_stages: [pre-commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-docstring-first - id: check-merge-conflict @@ -42,20 +42,20 @@ repos: args: ['--prose-wrap=never', '--tab-width', '2', '--single-quote'] # Following django-cookiecutter - repo: https://github.com/python-poetry/poetry - rev: 1.7.0 + rev: 1.8.0 hooks: - id: poetry-check - id: poetry-lock args: ['--check', '--no-update'] - repo: https://github.com/adamchainz/django-upgrade - rev: '1.15.0' + rev: '1.22.1' hooks: - id: django-upgrade args: ['--target-version', '4.2'] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.18.0 hooks: - id: pyupgrade args: [--py311-plus] @@ -72,12 +72,12 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: @@ -98,21 +98,21 @@ repos: args: [--in-place, --config, ./pyproject.toml] - repo: https://github.com/PyCQA/bandit - rev: 1.7.6 + rev: 1.7.10 hooks: - id: bandit args: [-c, pyproject.toml] additional_dependencies: ['bandit[toml]'] - repo: https://github.com/Riverside-Healthcare/djLint - rev: v1.34.1 + rev: v1.35.2 hooks: - id: djlint-reformat-django args: ['--configuration', './pyproject.toml'] - id: djlint-django - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.11.2 hooks: - id: mypy args: [--config-file, ./pyproject.toml]