Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(pre-commit-deps): pre-commit autoupdate #276

Merged
merged 10 commits into from
Dec 19, 2024
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
- id: remove-tabs
- id: forbid-tabs
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 22ca1b965b7ec0d21bd316d8de38c735f2e035b3 # frozen: 39.59.0
rev: 5f5318567fe9cd1f1265dde94b8d9d72a25cda52 # frozen: 39.75.1
hooks:
- id: renovate-config-validator
language_version: 20.18.0 # TODO: remove this line once https://github.com/renovatebot/pre-commit-hooks/issues/2460 is resolved
Expand Down Expand Up @@ -79,8 +79,8 @@ repos:
hooks:
- id: hadolint
args: [--ignore=DL3008, --ignore=DL3018]
- repo: https://github.com/executablebooks/mdformat
rev: 00812cd1850e41aae5c0916645b4b7404f538e8c # frozen: 0.7.19
- repo: https://github.com/hukkin/mdformat
rev: e20b1ac5acb8aba0b49d3a9109c6e6b58684ee83 # frozen: 0.7.21
hooks:
- id: mdformat
args: [--number, --end-of-line, keep]
Expand Down Expand Up @@ -137,7 +137,7 @@ repos:
always_run: true
args: [audit, --json, --ignore-code=CVE-2019-8341]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 8b76f04e7e5a9cd259e9d1db7799599355f97cdf # frozen: v0.8.2
rev: f0b5944bef86f50d875305821a0ab0d8c601e465 # frozen: v0.8.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
21 changes: 5 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ If you are proposing a feature:

Ready to contribute? Here's how to set up `python-package-ci-cd` for local development.

1. Set up commit signing, see [GitHub's documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) for details.
> [!IMPORTANT]
> All commits going into the main repository are required to be signed, so make sure
> to set up commit signing before starting to make changes.

!!! hint
All commits going into the main repository are required to be signed, so make sure
to set up commit signing before starting to make changes.
1. Set up commit signing, see [GitHub's documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) for details.

2. Fork `python-package-ci-cd` into a new repository.

Expand All @@ -68,18 +68,7 @@ Ready to contribute? Here's how to set up `python-package-ci-cd` for local devel
8. When you're done making changes, check that your changes conform to any code
formatting requirements.

!!! note
Always remember to activate the virtual environment.

```console
# Linux
source .venv/bin/activate

# Windows
.venv\Scripts\activate.bat
```

- To run the pre-commit checks:
- To run the pre-commit checks (only after activating your virtual environment):

```console
pre-commit run --all
Expand Down
Loading