File: copilot-instructions.md

package info (click to toggle)
python-maturin 1.9.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,424 kB
  • sloc: python: 656; javascript: 93; sh: 55; makefile: 10
file content (13 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
## Code Standards

### Required Before Each Commit

- Run `cargo clippy --tests --all-features -- -D warnings` to ensure the code builds successfully and address any warnings.
- Run `cargo fmt` to ensure the code is formatted correctly.
- Run `cargo test` to ensure all tests pass.
- Run `pre-commit` to ensure code quality and consistency.

## Key Guidelines

- Follow Rust best practices and idiomatic patterns.
- Maintain existing code structure and organization by default unless instructed to refactor or refactoring can improve maintainability or performance.