Skip to content

Commit

Permalink
Update pre-commit deps, pin actionlint (#1139)
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored Apr 5, 2023
1 parent f9a5a98 commit 5106dc3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
pass_filenames: false

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand Down Expand Up @@ -52,26 +52,26 @@ repos:
- --lines-after-imports=2

- repo: https://github.com/asottile/pyupgrade
rev: v3.2.2
rev: v3.3.1
hooks:
- id: pyupgrade
args:
- --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.0
hooks:
- id: black
args:
- --safe

- repo: https://github.com/pycqa/pydocstyle
rev: 6.2.2 # 6.2.3 is slightly broken
rev: 6.3.0
hooks:
- id: pydocstyle
args:
Expand All @@ -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.0
hooks:
- id: eslint
files: \.(js|ts|vue)$
Expand Down Expand Up @@ -125,12 +125,12 @@ repos:
- [email protected]

- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.8.0
rev: v0.9.0
hooks:
- id: shellcheck

- repo: https://github.com/rhysd/actionlint
rev: main
rev: v1.6.24
hooks:
- id: actionlint-docker

Expand Down
2 changes: 1 addition & 1 deletion automations/python/issues_with_prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion documentation/_ext/link_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class PendingIssueXRef(pending_xref):


class IssueReferences(SphinxTransform):

default_priority = 999

def apply(self) -> None:
Expand Down
16 changes: 8 additions & 8 deletions templates/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand Down Expand Up @@ -48,26 +48,26 @@ repos:
- --lines-after-imports=2

- repo: https://github.com/asottile/pyupgrade
rev: v3.2.2
rev: v3.3.1
hooks:
- id: pyupgrade
args:
- --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.0
hooks:
- id: black
args:
- --safe

- repo: https://github.com/pycqa/pydocstyle
rev: 6.2.2 # 6.2.3 is slightly broken
rev: 6.3.0
hooks:
- id: pydocstyle
args:
Expand All @@ -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.0
hooks:
- id: eslint
files: {{ eslint_files | default("^js/.*$") }}
Expand Down Expand Up @@ -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.0
hooks:
- id: shellcheck

- repo: https://github.com/rhysd/actionlint
rev: main
rev: v1.6.24
hooks:
- id: actionlint-docker
{% block repos_bottom %}
Expand Down

0 comments on commit 5106dc3

Please sign in to comment.