From 62f67d7133ee4bdc075e026883d68359047159bd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:03:32 +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/mirrors-mypy: v1.5.1 → v1.6.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.6.1) - [github.com/asottile/pyupgrade: v3.13.0 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.13.0...v3.15.0) - [github.com/psf/black: 23.9.1 → 23.10.1](https://github.com/psf/black/compare/23.9.1...23.10.1) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78d27b98c..6012f76c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: - id: flake8 exclude: ^buildutils/templates/ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.6.1 hooks: - id: mypy files: zmq/.* @@ -50,7 +50,7 @@ repos: additional_dependencies: - types-paramiko - repo: https://github.com/asottile/pyupgrade - rev: v3.13.0 + rev: v3.15.0 hooks: - id: pyupgrade args: @@ -67,13 +67,13 @@ repos: name: isort (pyi) types: [pyi] - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.10.1 hooks: - id: black # don't run black twice on constants.py exclude: zmq/constants.py - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: end-of-file-fixer - id: check-executables-have-shebangs From c41a7688a0d5323c7950eb901b5c7139f81f2d95 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:04:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- RELICENSE/authors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELICENSE/authors.py b/RELICENSE/authors.py index 989f4b99c..21e4c531c 100644 --- a/RELICENSE/authors.py +++ b/RELICENSE/authors.py @@ -46,7 +46,7 @@ def get_all_commits(): mailmap[src] = dest email_names[dest] = line[: line.index('<')].strip() -author_commits = defaultdict(lambda: []) +author_commits = defaultdict(list) for commit in get_all_commits(): # exclude some specific commits (e.g. docstring typos)