Changeset View
Changeset View
Standalone View
Standalone View
.pre-commit-config.yaml
Show All 11 Lines | hooks: | ||||
- id: flake8 | - id: flake8 | ||||
additional_dependencies: [flake8-bugbear==22.3.23] | additional_dependencies: [flake8-bugbear==22.3.23] | ||||
- repo: https://github.com/codespell-project/codespell | - repo: https://github.com/codespell-project/codespell | ||||
rev: v2.1.0 | rev: v2.1.0 | ||||
hooks: | hooks: | ||||
- id: codespell | - id: codespell | ||||
name: Check source code spelling | name: Check source code spelling | ||||
args: ["-L te,wth,alledges"] | args: ["-L te,wth,alledges,afterall"] | ||||
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] | ||||
Show All 14 Lines | repos: | ||||
- repo: local | - repo: local | ||||
hooks: | hooks: | ||||
- id: java-coding-style | - id: java-coding-style | ||||
name: java style | name: java style | ||||
entry: mvn | entry: mvn | ||||
args: ["-f", "java/pom.xml", "spotless:apply"] | args: ["-f", "java/pom.xml", "spotless:apply"] | ||||
pass_filenames: false | pass_filenames: false | ||||
language: system | language: system | ||||
exclude: ^swh/graph/rpc/ |