diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f74b4ca..c4bd9ec 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.1 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'] 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