From 45f75b63f72576b04c53b03f6c53ddc4c1ff19a9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:09:10 +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/psf/black: 22.3.0 → 24.2.0](https://github.com/psf/black/compare/22.3.0...24.2.0) - [github.com/PyCQA/flake8: 4.0.1 → 7.0.0](https://github.com/PyCQA/flake8/compare/4.0.1...7.0.0) - [github.com/asottile/pyupgrade: v2.34.0 → v3.15.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v3.15.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9c4931..ac1f6fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.2.0 hooks: - id: black args: [--line-length=80] - repo: https://github.com/PyCQA/flake8 - rev: "4.0.1" + rev: "7.0.0" hooks: - id: flake8 - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v3.15.1 hooks: - id: pyupgrade args: [--py36-plus] From 75a93ad1e94501d2c7594567df0b21928e14c3af Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:09:39 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- more/jwtauth/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/more/jwtauth/main.py b/more/jwtauth/main.py index 7b917c1..29dbb2e 100644 --- a/more/jwtauth/main.py +++ b/more/jwtauth/main.py @@ -58,7 +58,6 @@ In the later case the algorithm must be an EC*, PS* or RS* version. """ - from calendar import timegm from datetime import datetime, timedelta