summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 08:55:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 08:55:51 +0000
commitb4ea5a3722487b0d46f197158c46229405b1048f (patch)
tree301b9af97ef5b1b5f72d6e5ef32aba3b93b73c39 /.pre-commit-config.yaml
parentInitial commit. (diff)
downloadpydantic-extra-types-b4ea5a3722487b0d46f197158c46229405b1048f.tar.xz
pydantic-extra-types-b4ea5a3722487b0d46f197158c46229405b1048f.zip
Adding upstream version 2.6.0.upstream/2.6.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..0ca583b
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,24 @@
+repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.5.0
+ hooks:
+ - id: check-yaml
+ args: ['--unsafe']
+ - id: check-toml
+ - id: end-of-file-fixer
+ - id: trailing-whitespace
+
+- repo: local
+ hooks:
+ - id: lint
+ name: Lint
+ entry: make lint
+ types: [python]
+ language: system
+ pass_filenames: false
+ - id: mypy
+ name: Mypy
+ entry: make mypy
+ types: [python]
+ language: system
+ pass_filenames: false