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 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: {}