File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Rust
4
4
5
- - Before you commit, make sure that your code compiles with ` cargo check ` and
6
- that it has been formatted properly; ` cargo fmt ` does that for you. Also
7
- check if your changes introduce any new linter warnings by running `cargo
8
- clippy`
5
+ - Before you commit, make sure that you have [ pre-commit ] ( https://pre-commit.com/ )
6
+ installed. This will ensure that the code is formatted correctly and that
7
+ it compiles properly. Also, check if your changes introduce any new linter
8
+ warnings by running ` cargo clippy` .
9
9
- Make sure to keep ` CHANGELOG.md ` up-to-date.
10
10
- Make sure not to use Rust features newer than the specified minimum supported
11
11
Rust Version (MSRV), which is documented in the [ README] ( README.md ) . You can
Original file line number Diff line number Diff line change 48
48
- ` _config.yml ` : configuration file for PineAPPL's Github-pages website
49
49
- ` install-capi.sh ` : POSIX-compliant shell script to download and install
50
50
PineAPPL's pre-built CAPI
51
+ - ` .pre-commit-config.yaml ` : pre-commit hooks configuration
51
52
52
53
[ cargo-xtask ] : https://github.com/matklad/cargo-xtask
53
54
[ release page ] : https://github.com/NNPDF/pineappl/releases
You can’t perform that action at this time.
0 commit comments