Changeset View
Changeset View
Standalone View
Standalone View
.pre-commit-config.yaml
exclude: "^swh/web/tests/resources/" | exclude: "^swh/web/tests/resources/" | ||||
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 | ||||
exclude: ".eml$" | exclude: ".eml$" | ||||
- 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 | ||||
exclude: > | exclude: > | ||||
(?x)^( | (?x)^( | ||||
cypress/integration/directory.spec.js| | cypress/integration/directory.spec.js| | ||||
yarn.lock| | yarn.lock| | ||||
package.json | package.json | ||||
Show All 17 Lines | hooks: | ||||
types: [javascript] | types: [javascript] | ||||
- 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 |