diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0b5ce6d2..d8a92ed6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,13 +12,13 @@ repos: - id: check-json # catch git merge/rebase problems - id: check-merge-conflict - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black types_or: [python] - repo: https://github.com/asottile/blacken-docs - rev: 1.19.1 + rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: [black] @@ -29,13 +29,13 @@ repos: - id: flake8 types_or: [python] - repo: https://github.com/PyCQA/pylint - rev: v3.3.8 + rev: v4.0.4 hooks: - id: pylint args: [--exit-zero] types_or: [python] - repo: https://github.com/PyCQA/bandit - rev: 1.8.6 + rev: 1.9.3 hooks: - id: bandit args: [--exit-zero] diff --git a/history.py b/history.py index 9820da4d..711b7649 100755 --- a/history.py +++ b/history.py @@ -6,6 +6,7 @@ Normally this should not be used. This is ideally only used to generate the initial historical data points for repos that have not been previously tracked. """ + import argparse import json import time