From 720c10cc9185a7b5a0c52ba204effaaaf3142bfb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 17:07:03 +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.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0) - [github.com/psf/black: 23.3.0 → 24.3.0](https://github.com/psf/black/compare/23.3.0...24.3.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 868eed0..9ece1b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -8,7 +8,7 @@ repos: - id: trailing-whitespace exclude: ^tests/reference_files* - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.3.0 hooks: - id: black exclude: ^docs/ From f1f2991ab74af2c14d32dba913dc1a3253b2328f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 17:07:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- proespm/log.py | 1 + proespm/spm.py | 1 + 2 files changed, 2 insertions(+) diff --git a/proespm/log.py b/proespm/log.py index 3e75f08..761df74 100644 --- a/proespm/log.py +++ b/proespm/log.py @@ -5,6 +5,7 @@ (C) Copyright Nicolas Bock, licensed under GPL v3 See LICENSE or http://www.gnu.org/licenses/gpl-3.0.html """ + from __future__ import print_function import time import sys diff --git a/proespm/spm.py b/proespm/spm.py index b364127..c0417c5 100644 --- a/proespm/spm.py +++ b/proespm/spm.py @@ -5,6 +5,7 @@ (C) Copyright Nicolas Bock, licensed under GPL v3 See LICENSE or http://www.gnu.org/licenses/gpl-3.0.html """ + import shutil import re import os