Skip to content

Commit

Permalink
Merge branch 'main' into charles/typing2
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiayue Charles Lin committed Jul 6, 2023
2 parents 9ac2d56 + a4dbd62 commit f16f085
Show file tree
Hide file tree
Showing 12 changed files with 392 additions and 197 deletions.
41 changes: 34 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,44 @@ repos:
hooks:
- id: black

- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
- repo: local
hooks:
- id: fmt
name: fmt
description: Format files with cargo fmt.
entry: cargo fmt
language: system
types: [rust]
args: [--]
- id: cargo-check
args: [--profile, rust-analyzer]
- id: cargo-check
name: cargo check --no-default-features
args: [--no-default-features, --profile, rust-analyzer]
name: cargo check
description: Check the package for errors.
entry: cargo check
language: system
types: [rust]
pass_filenames: false
args: [--workspace]

- id: cargo-check-no-default
name: cargo check
description: Check the package for errors without default features.
entry: cargo check
language: system
types: [rust]
pass_filenames: false
args: [--workspace, --no-default-features]


- id: clippy
args: [--profile, rust-analyzer]
name: clippy
description: Lint rust sources
entry: cargo clippy
language: system
args: [--workspace, --, -D, warnings]
types: [rust]
pass_filenames: false



- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.10.1
Expand Down
126 changes: 92 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ version = "0.4.19"

[workspace.dependencies.pyo3]
features = ["extension-module", "abi3-py37"]
version = "0.19.0"
version = "0.19.1"

[workspace.dependencies.pyo3-log]
version = "0.8.2"
Expand Down
Loading

0 comments on commit f16f085

Please sign in to comment.