From aa6bf5358d7067d95305945f02ac79e187ce2f64 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:36:21 +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.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.14.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.14.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/asottile/pyupgrade: v3.15.0 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.19.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v2.7.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.5.0...v2.7.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f74b4ca..ead96d0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,29 +1,29 @@ exclude: ^tests/fixtures/ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-yaml - id: debug-statements - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/reorder-python-imports - rev: v3.12.0 + rev: v3.14.0 hooks: - id: reorder-python-imports args: [--application-directories, '.:src', --py36-plus] - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.10.0 hooks: - id: black args: [--line-length=79] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt args: [--min-py3-version, '3.6'] From 28f3bef9a21622e3be97dede6c05fa8254d25d5a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:36:44 +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 | 1 + src/flake8_json_reporter/__init__.py | 1 + src/flake8_json_reporter/reporters.py | 1 + 3 files changed, 3 insertions(+) diff --git a/setup.py b/setup.py index bced55a..bb547f3 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Packaging logic for Flake8-JSON.""" + import os import sys diff --git a/src/flake8_json_reporter/__init__.py b/src/flake8_json_reporter/__init__.py index 5398e84..09c75d1 100644 --- a/src/flake8_json_reporter/__init__.py +++ b/src/flake8_json_reporter/__init__.py @@ -1,2 +1,3 @@ """flake8_json_reporter module.""" + __version__ = "24.4.0" diff --git a/src/flake8_json_reporter/reporters.py b/src/flake8_json_reporter/reporters.py index 72fa155..6aa8e6c 100644 --- a/src/flake8_json_reporter/reporters.py +++ b/src/flake8_json_reporter/reporters.py @@ -1,4 +1,5 @@ """Module containing all of the JSON reporters for Flake8.""" + import hashlib import json import textwrap