Changeset View
Changeset View
Standalone View
Standalone View
.pre-commit-config.yaml
Show All 23 Lines | - 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] | ||||
- id: check-bumped-dbversion | |||||
name: check-bumped-dbversion | |||||
files: 'sql/upgrades/.*\.sql' | |||||
entry: grep | |||||
args: ["insert into dbversion"] | |||||
language: system | |||||
- 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.3.0 | ||||
hooks: | hooks: | ||||
- id: black | - id: black |