Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
entry: add-copyright
language: python
always_run: true
stages: [commit]
stages: [pre-commit]
types_or:
- c++
- c#
Expand All @@ -41,7 +41,7 @@
entry: update-copyright
language: python
always_run: true
stages: [commit]
stages: [pre-commit]
types_or:
- c++
- c#
Expand All @@ -67,22 +67,22 @@
entry: sort-file-contents
language: python
always_run: true
stages: [commit]
stages: [pre-commit]
files: ^.gitignore
- id: no-import-testtools-in-src
name: Detect test tool imports in src files
description: Detect test tool imports outside of test files.
entry: no-import-testtools-in-src
language: python
always_run: true
stages: [commit]
stages: [pre-commit]
types_or: [python]
- id: americanise
name: Correct non-US spellings
description: Detect and modify instances of UK/Canadian spelling of common words.
entry: americanise
language: python
always_run: true
stages: [commit]
stages: [pre-commit]
types_or: [text]
exclude: .*\.lock