From 183ce639fdce4eb9fd6b6e171b3ce36dae563775 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 22:17:18 +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: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...26.1.0) --- .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 ac495f4..5b75d10 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-symlinks - id: check-toml - id: detect-private-key - id: end-of-file-fixer - id: trailing-whitespace -- repo: https://github.com/psf/black - rev: 25.1.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black From d8516cbeef351671599779a84c3168f0880b0ea5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 22:17:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pwcode/utils/AtomGenerator.py | 4 +--- src/pwcode/utils/RSSGenerator.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/pwcode/utils/AtomGenerator.py b/src/pwcode/utils/AtomGenerator.py index 60ad0ad..7542dd9 100644 --- a/src/pwcode/utils/AtomGenerator.py +++ b/src/pwcode/utils/AtomGenerator.py @@ -25,9 +25,7 @@ def generate_atom(papers): PapersWithCode -""".format( - time - ) +""".format(time) for paper in papers: content = """ID: {}
diff --git a/src/pwcode/utils/RSSGenerator.py b/src/pwcode/utils/RSSGenerator.py index 3f99002..d0144f6 100644 --- a/src/pwcode/utils/RSSGenerator.py +++ b/src/pwcode/utils/RSSGenerator.py @@ -24,9 +24,7 @@ def generate_rss(papers): Get Latest Papers from PapersWithCode en {} -""".format( - time - ) +""".format(time) for paper in papers: description = """ID: {}