2022-09-20 11:55:01 -07:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.2.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
files: pythnet/
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
files: pythnet/
|
|
|
|
- id: check-added-large-files
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: cargo-fmt-executor
|
|
|
|
name: Cargo format executor
|
|
|
|
language: "rust"
|
2022-09-28 08:55:11 -07:00
|
|
|
entry: cargo +nightly fmt --manifest-path ./pythnet/remote-executor/Cargo.toml --all
|
2022-09-20 11:55:01 -07:00
|
|
|
pass_filenames: false
|
|
|
|
- id: cargo-clippy-executor
|
|
|
|
name: Cargo clippy executor
|
|
|
|
language: "rust"
|
|
|
|
entry: cargo +nightly clippy --manifest-path ./pythnet/remote-executor/Cargo.toml -- -D warnings
|
|
|
|
pass_filenames: false
|