woodpecker/.pre-commit-config.yaml
renovate[bot] e1b8fa6a67
Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 (#3597)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pre-commit/pre-commit-hooks](https://togithub.com/pre-commit/pre-commit-hooks)
| repository | minor | `v4.5.0` -> `v4.6.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/pre-commit-hooks
(pre-commit/pre-commit-hooks)</summary>

###
[`v4.6.0`](https://togithub.com/pre-commit/pre-commit-hooks/releases/tag/v4.6.0):
pre-commit-hooks v4.6.0

[Compare
Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)

##### Features

-   `requirements-txt-fixer`: remove duplicate packages.
-
[#&#8203;1014](https://togithub.com/pre-commit/pre-commit-hooks/issues/1014)
PR by
[@&#8203;vhoulbreque-withings](https://togithub.com/vhoulbreque-withings).
-
[#&#8203;960](https://togithub.com/pre-commit/pre-commit-hooks/issues/960)
issue [@&#8203;csibe17](https://togithub.com/csibe17).

##### Migrating

-   `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0.  use
[pyupgrade](https://togithub.com/asottile/pyupgrade) or some other tool.
-
[#&#8203;1033](https://togithub.com/pre-commit/pre-commit-hooks/issues/1033)
PR by [@&#8203;mxr](https://togithub.com/mxr).
-
[#&#8203;1032](https://togithub.com/pre-commit/pre-commit-hooks/issues/1032)
issue by [@&#8203;mxr](https://togithub.com/mxr).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 07:27:22 +02:00

59 lines
1.8 KiB
YAML

# cSpell:ignore checkmake hadolint autofix autoupdate
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/golangci/golangci-lint
rev: v1.57.2
hooks:
- id: golangci-lint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
hooks:
- id: markdownlint
exclude: '^(docs/versioned_docs/.*|CHANGELOG.md)$'
- repo: https://github.com/mrtazz/checkmake
rev: 0.2.2
hooks:
- id: checkmake
exclude: '^docker/Dockerfile.make$' # actually a Dockerfile and not a makefile
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
hooks:
- id: hadolint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
args: [--strict, -c=.yamllint.yaml]
- repo: local
hooks:
- id: yaml-file-extension
name: Check if YAML files has *.yaml extension.
entry: YAML filenames must have .yaml extension.
language: fail
files: .yml$
exclude: '^(.gitpod.yml|.github/ISSUE_TEMPLATE/config.yml)$'
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks [CI SKIP]
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: quarterly
# NB: hadolint not included in pre-commit.ci
skip: [check-hooks-apply, check-useless-excludes, hadolint, prettier]
submodules: false