update ci

- remove submodules init
- pre-commit: forbid new submodule, run in ci
This commit is contained in:
hathach
2023-03-17 15:54:25 +07:00
parent 323a56e309
commit 2faad42cb1
9 changed files with 10 additions and 29 deletions

View File

@@ -4,11 +4,12 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.4.0
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: end-of-file-fixer
- id: forbid-submodules
- repo: local
hooks: