2 Star 0 Fork 0

mirrors_neo4j/neo4j-python-driver-rust-ext

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
Robsdedude 提交于 2025-07-25 00:09 +08:00 . pre-commit: use local rust steps (#48)
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: ^(driver/.*|tests/(.*/)?from_driver/.*)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-symlinks
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending
args: [ --fix=lf ]
exclude_types:
- batch
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- repo: local
hooks:
- id: cargo-fmt
name: cargo fmt
entry: cargo fmt
language: system
types: [rust]
pass_filenames: false
- repo: local
hooks:
- id: cargo-clippy
name: cargo clippy
entry: cargo clippy --all-features --tests -- -D warnings
language: system
types: [rust]
pass_filenames: false
- repo: local
hooks:
- id: isort
name: isort
entry: isort
types_or: [ python, pyi ]
language: system
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.4
hooks:
- id: ruff-format
- id: ruff
args: [ --fix ]
- id: ruff-format
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_neo4j/neo4j-python-driver-rust-ext.git
git@gitee.com:mirrors_neo4j/neo4j-python-driver-rust-ext.git
mirrors_neo4j
neo4j-python-driver-rust-ext
neo4j-python-driver-rust-ext
6.x

搜索帮助