Skip to content
Snippets Groups Projects
Verified Commit 6d9e645a authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

pre-commit: Update pre-commit and hooks

That just failed to work with previous versions with unclear reason.

```
pre-commit installed at .git/hooks/pre-commit
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/home/tony/.cache/pre-commit/repo3afnie1n/py_env-python3/bin/python', '-mpip', 'install', '.')
return code: 1
...
          RuntimeError: The Poetry configuration is invalid:
            - data.extras.pipfile_deprecated_finder[2] must match pattern
            ^[a-zA-Z-_.0-9]+$
```
parent be600a76
No related branches found
Tags swh-base-20250212.1
No related merge requests found
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: check-json
- id: check-yaml
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==22.9.23]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.3.0
hooks:
- id: codespell
name: Check source code spelling
......@@ -30,11 +30,11 @@ repos:
types: [python]
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/python/black
rev: 22.10.0
rev: 24.4.2
hooks:
- id: black
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment