From 6a27b1c100135fd114c4c25f0fa0fca7fa98ff34 Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 22:01:14 +0000 Subject: [PATCH 1/3] Updated files with 'repo_helper'. --- README.rst | 2 +- doc-source/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 3261e0d..fbb9682 100644 --- a/README.rst +++ b/README.rst @@ -112,7 +112,7 @@ Spun out from `repo_helper `_. Needs :target: https://github.com/repo-helper/southwark/commit/master :alt: GitHub last commit -.. |maintained| image:: https://img.shields.io/maintenance/yes/2024 +.. |maintained| image:: https://img.shields.io/maintenance/yes/2025 :alt: Maintenance .. |pypi-downloads| image:: https://img.shields.io/pypi/dm/Southwark diff --git a/doc-source/index.rst b/doc-source/index.rst index a7a738e..f4833d6 100644 --- a/doc-source/index.rst +++ b/doc-source/index.rst @@ -120,7 +120,7 @@ Southwark :last-commit: :alt: GitHub last commit - .. |maintained| maintained-shield:: 2024 + .. |maintained| maintained-shield:: 2025 :alt: Maintenance .. |pypi-downloads| pypi-shield:: From b727f6991c0c8a8b68746727c6326a4e2f891f16 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 22:03:06 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- southwark/log.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/southwark/log.py b/southwark/log.py index 9495b83..223218b 100644 --- a/southwark/log.py +++ b/southwark/log.py @@ -74,8 +74,7 @@ def __init__(self, repo: Union[dulwich.repo.Repo, PathLike] = '.'): #: Mapping of git refs to commit SHAs. self.refs: Dict[str, str] = { k.decode("UTF-8"): v.decode("UTF-8") - for k, - v in self.repo.get_refs().items() + for k, v in self.repo.get_refs().items() if not k.startswith(b"refs/tags/") } From e1dea8d0e8f4a6bfa439933a21b5f372f801c10a Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 09:17:46 +0000 Subject: [PATCH 3/3] Updated files with 'repo_helper'. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62c1c56..5b4bc16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -81,7 +81,7 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v0.7.0 + rev: v0.8.0 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$