Changeset View
Changeset View
Standalone View
Standalone View
.pre-commit-config.yaml
repos: | repos: | ||||
- repo: https://github.com/pre-commit/pre-commit-hooks | - repo: https://github.com/pre-commit/pre-commit-hooks | ||||
rev: v4.1.0 | rev: v4.3.0 | ||||
hooks: | hooks: | ||||
- id: trailing-whitespace | - id: trailing-whitespace | ||||
- id: check-json | - id: check-json | ||||
- id: check-yaml | - id: check-yaml | ||||
- repo: https://gitlab.com/pycqa/flake8 | - repo: https://github.com/pycqa/flake8 | ||||
rev: 4.0.1 | rev: 5.0.4 | ||||
hooks: | hooks: | ||||
- id: flake8 | - id: flake8 | ||||
additional_dependencies: [flake8-bugbear==22.3.23] | additional_dependencies: [flake8-bugbear==22.9.23] | ||||
- repo: https://github.com/codespell-project/codespell | - repo: https://github.com/codespell-project/codespell | ||||
rev: v2.1.0 | rev: v2.2.2 | ||||
hooks: | hooks: | ||||
- id: codespell | - id: codespell | ||||
name: Check source code spelling | name: Check source code spelling | ||||
stages: [commit] | stages: [commit] | ||||
- repo: local | - repo: local | ||||
hooks: | hooks: | ||||
- id: mypy | - id: mypy | ||||
name: mypy | name: mypy | ||||
entry: mypy | entry: mypy | ||||
args: [swh] | args: [swh] | ||||
pass_filenames: false | pass_filenames: false | ||||
language: system | language: system | ||||
types: [python] | types: [python] | ||||
- repo: https://github.com/PyCQA/isort | - repo: https://github.com/PyCQA/isort | ||||
rev: 5.10.1 | rev: 5.10.1 | ||||
hooks: | hooks: | ||||
- id: isort | - id: isort | ||||
- repo: https://github.com/python/black | - repo: https://github.com/python/black | ||||
rev: 22.3.0 | rev: 22.10.0 | ||||
hooks: | hooks: | ||||
- id: black | - id: black |