Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update pre-commit deps, pin actionlint (#1139)
Madison Swain-Bowden5106dc3e73d0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex f66b355ac..cdef9f5de 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -18,7 +18,7 @@ repos:pass_filenames: false- repo: https://github.com/pre-commit/pre-commit-hooks- rev: v4.0.1+ rev: v4.4.0hooks:- id: trailing-whitespaceargs: [--markdown-linebreak-ext=md]@@ -52,26 +52,26 @@ repos:- --lines-after-imports=2- repo: https://github.com/asottile/pyupgrade- rev: v3.2.2+ rev: v3.3.1hooks:- id: pyupgradeargs:- --py310-plus- repo: https://github.com/charliermarsh/ruff-pre-commit- rev: "v0.0.257"+ rev: "v0.0.261"hooks:- id: ruff- repo: https://github.com/ambv/black- rev: 22.3.0+ rev: 23.3.0hooks:- id: blackargs:- --safe- repo: https://github.com/pycqa/pydocstyle- rev: 6.2.2 # 6.2.3 is slightly broken+ rev: 6.3.0hooks:- id: pydocstyleargs:@@ -87,7 +87,7 @@ repos:- --add-ignore=D1,D202,D205,D211,D400- repo: https://github.com/pre-commit/mirrors-eslint- rev: v8.15.0+ rev: v8.37.0hooks:- id: eslintfiles: \.(js|ts|vue)$@@ -125,12 +125,12 @@ repos:- repo: https://github.com/koalaman/shellcheck-precommit- rev: v0.8.0+ rev: v0.9.0hooks:- id: shellcheck- repo: https://github.com/rhysd/actionlint- rev: main+ rev: v1.6.24hooks:- id: actionlint-dockerdiff --git a/automations/python/issues_with_prs.py b/automations/python/issues_with_prs.pyindex 91c29a5a5..39838d102 100755--- a/automations/python/issues_with_prs.py+++ b/automations/python/issues_with_prs.py@@ -247,7 +247,7 @@ def main():cards_to_move.append((issue_card, issue))log.info(f"Found {len(cards_to_move)} cards to move")- for (issue_card, issue) in cards_to_move:+ for issue_card, issue in cards_to_move:log.info(f"Moving card for issue {issue.html_url} to {target_column.name}")issue_card.move("bottom", target_column)diff --git a/documentation/_ext/link_issues.py b/documentation/_ext/link_issues.pyindex b2e7958bc..fa82d1af8 100644--- a/documentation/_ext/link_issues.py+++ b/documentation/_ext/link_issues.py@@ -89,7 +89,6 @@ class PendingIssueXRef(pending_xref):class IssueReferences(SphinxTransform):-default_priority = 999def apply(self) -> None:diff --git a/templates/.pre-commit-config.yaml.jinja b/templates/.pre-commit-config.yaml.jinjaindex 2b3f61708..a19a50b94 100644--- a/templates/.pre-commit-config.yaml.jinja+++ b/templates/.pre-commit-config.yaml.jinja@@ -11,7 +11,7 @@ repos:{% block repos_top %}{% endblock %}- repo: https://github.com/pre-commit/pre-commit-hooks- rev: v4.0.1+ rev: v4.4.0hooks:- id: trailing-whitespaceargs: [--markdown-linebreak-ext=md]@@ -48,26 +48,26 @@ repos:- --lines-after-imports=2- repo: https://github.com/asottile/pyupgrade- rev: v3.2.2+ rev: v3.3.1hooks:- id: pyupgradeargs:- --py310-plus- repo: https://github.com/charliermarsh/ruff-pre-commit- rev: "v0.0.257"+ rev: "v0.0.261"hooks:- id: ruff- repo: https://github.com/ambv/black- rev: 22.3.0+ rev: 23.3.0hooks:- id: blackargs:- --safe- repo: https://github.com/pycqa/pydocstyle- rev: 6.2.2 # 6.2.3 is slightly broken+ rev: 6.3.0hooks:- id: pydocstyleargs:@@ -85,7 +85,7 @@ repos:{% endif %}{% if contains_js_code | default(true) %}- repo: https://github.com/pre-commit/mirrors-eslint- rev: v8.15.0+ rev: v8.37.0hooks:- id: eslintfiles: {{ eslint_files | default("^js/.*$") }}@@ -117,12 +117,12 @@ repos:{# This comment adds a blank line. #}- repo: https://github.com/koalaman/shellcheck-precommit- rev: v0.8.0+ rev: v0.9.0hooks:- id: shellcheck- repo: https://github.com/rhysd/actionlint- rev: main+ rev: v1.6.24hooks:- id: actionlint-docker{% block repos_bottom %}