aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-18 18:03:02 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-18 18:03:02 +0800
commit025020c503ef5b8dc0270197c5b1e6d4e0f8807d (patch)
tree25f8c8d8882647e22ea0acebadafef99306f4c98 /.pre-commit-config.yaml
parent074ad0c914ae0b53ace46ed5d4c24205eacbabaa (diff)
downloadHydroRoll-025020c503ef5b8dc0270197c5b1e6d4e0f8807d.tar.gz
HydroRoll-025020c503ef5b8dc0270197c5b1e6d4e0f8807d.zip
✨本体文件
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..36f368c
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,20 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.2.0
+ hooks:
+ - id: check-ast
+ - id: check-case-conflict
+ - id: check-json
+ - id: check-toml
+ - id: check-yaml
+ - id: fix-byte-order-marker
+
+ - repo: https://github.com/pycqa/isort
+ rev: 5.10.1
+ hooks:
+ - id: isort
+
+ - repo: https://github.com/psf/black
+ rev: 22.3.0
+ hooks:
+ - id: black \ No newline at end of file