Skip to content

Commit

Permalink
ci: skip refurb QA check
Browse files Browse the repository at this point in the history
See #348 for detail.
  • Loading branch information
maxrake committed Nov 13, 2023
1 parent b530271 commit 62fc31f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/auto_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ jobs:
# NOTE: Specific repos are specified for update since the autoupdated/frozen version here may not always be the
# latest version. This is the case for `poetry`, which has described the limitations of `pre-commit` here:
# https://python-poetry.org/docs/pre-commit-hooks/#why-does-pre-commit-autoupdate-not-update-to-the-latest-version
#
# TODO: Put `refurb` back in this list once https://github.com/dosisod/refurb/issues/305 is resolved.
# https://github.com/phylum-dev/phylum-ci/issues/348
- name: Update pre-commit hooks
run: |
poetry run pre-commit autoupdate --freeze \
--repo https://github.com/pre-commit/pre-commit-hooks \
--repo https://github.com/psf/black \
--repo https://github.com/charliermarsh/ruff-pre-commit \
--repo https://github.com/dosisod/refurb \
--repo https://github.com/jendrikseipp/vulture \
--repo https://github.com/adrienverge/yamllint
Expand Down
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ repos:
hooks:
- id: ruff

- repo: https://github.com/dosisod/refurb
rev: b5f9f11fa01afc34884349ebf42c999dc208ee01 # frozen: v1.22.2
hooks:
- id: refurb
# TODO: Restore `refurb` once https://github.com/dosisod/refurb/issues/305 is resolved.
# https://github.com/phylum-dev/phylum-ci/issues/348
# - repo: https://github.com/dosisod/refurb
# rev: b5f9f11fa01afc34884349ebf42c999dc208ee01 # frozen: v1.22.2
# hooks:
# - id: refurb

- repo: https://github.com/jendrikseipp/vulture
rev: 42ae1c1776f475a205bedeaf8dc6913c044e1440 # frozen: v2.10
Expand Down

0 comments on commit 62fc31f

Please sign in to comment.