Skip to content
Snippets Groups Projects
Commit fcde28a2 authored by Moul's avatar Moul
Browse files

[mod] pre-commit: Move the exclusion statement globally

parent 3389e8d7
No related branches found
No related tags found
1 merge request!164#186: Introduce pyupgrade pre-commit hook
exclude: ^docs/
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.5b0 rev: 21.5b0
...@@ -8,12 +9,10 @@ repos: ...@@ -8,12 +9,10 @@ repos:
hooks: hooks:
- id: isort - id: isort
args: ["--profile", "black"] args: ["--profile", "black"]
exclude: ^docs/
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910 rev: v0.910
hooks: hooks:
- id: mypy - id: mypy
exclude: ^docs/
args: args:
- "--install-types" - "--install-types"
- "--non-interactive" - "--non-interactive"
...@@ -21,12 +20,10 @@ repos: ...@@ -21,12 +20,10 @@ repos:
rev: v2.8.2 rev: v2.8.2
hooks: hooks:
- id: pylint - id: pylint
exclude: ^docs/
- repo: https://github.com/Lucas-C/pre-commit-hooks - repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10 rev: v1.1.10
hooks: hooks:
- id: insert-license - id: insert-license
exclude: ^docs/
files: \.py$ files: \.py$
args: args:
- --license-filepath - --license-filepath
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment