Skip to content

Commit

Permalink
Merge pull request #387 from twisted/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
hynek authored Aug 31, 2022
2 parents 1590753 + ce584f9 commit fe9e039
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ jobs:
task:
- name: Check Newsfragment
tox: check-newsfragment
run-if: ${{ github.head_ref != 'pre-commit-ci-update-config' }}
- name: Check package manifest
tox: check-manifest
- name: Check pre-commit
tox: pre-commit
run-if: true

steps:
- uses: actions/checkout@v3
Expand All @@ -194,6 +194,7 @@ jobs:
- uses: twisted/python-info-action@v1

- name: Tox
if: ${{ matrix.task.run-if }}
run: tox -c tox.ini -e ${{ matrix.task.tox }}

pypi-publish:
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black

- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
rev: v2.37.3
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand All @@ -21,12 +21,12 @@ repos:
additional_dependencies: [toml]

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 5.0.2
hooks:
- id: flake8

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down

0 comments on commit fe9e039

Please sign in to comment.