From bf8825fdb0dd51f57c53a28ebb65f6dcd5bbec63 Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Tue, 14 Nov 2023 08:58:33 +0100 Subject: [PATCH] Update versions --- .github/workflows/json_consistency.py | 3 +-- .pre-commit-config.yaml | 10 +++++----- Makefile | 2 +- files.json | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/json_consistency.py b/.github/workflows/json_consistency.py index c5fde79..1383bb6 100644 --- a/.github/workflows/json_consistency.py +++ b/.github/workflows/json_consistency.py @@ -1,5 +1,6 @@ import datetime import json +import logging import sys from pathlib import Path @@ -7,8 +8,6 @@ from pypdf import PdfReader -import logging - logger = logging.getLogger() logger.level = logging.ERROR diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2f6d5c..0e34938 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # pre-commit run --all-files repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.5.0 hooks: - id: check-ast - id: check-case-conflict @@ -20,21 +20,21 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.31.1 + rev: v3.15.0 hooks: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.16.0 hooks: - id: blacken-docs additional_dependencies: [black==22.1.0] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.280' + rev: 'v0.1.5' hooks: - id: ruff args: ['--fix'] diff --git a/Makefile b/Makefile index 145c091..b30d534 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ maint: - pip-compile .github/workflows/ci.in --upgrade \ No newline at end of file + pip-compile .github/workflows/ci.in --upgrade diff --git a/files.json b/files.json index 2bc3fad..9ea5554 100644 --- a/files.json +++ b/files.json @@ -329,4 +329,4 @@ "annotations": {} } ] -} \ No newline at end of file +}