mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-22 22:20:02 +00:00
* feat: use regex to filter out not supported MySQL stmt * fix: resolve PR comments Co-authored-by: luofucong <luofucong@greptime.com>
22 lines
675 B
YAML
22 lines
675 B
YAML
repos:
|
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
|
rev: 47923ce11be4a936cd216d427d985dd342adb751
|
|
hooks:
|
|
- id: conventional-pre-commit
|
|
stages: [commit-msg]
|
|
|
|
- repo: https://github.com/DevinR528/cargo-sort
|
|
rev: e6a795bc6b2c0958f9ef52af4863bbd7cc17238f
|
|
hooks:
|
|
- id: cargo-sort
|
|
args: ["--workspace", "--print"]
|
|
|
|
- repo: https://github.com/doublify/pre-commit-rust
|
|
rev: v1.0
|
|
hooks:
|
|
- id: fmt
|
|
- id: clippy
|
|
args: ["--workspace", "--all-targets", "--", "-D", "warnings", "-D", "clippy::print_stdout", "-D", "clippy::print_stderr"]
|
|
stages: [push]
|
|
- id: cargo-check
|