Skip to content

Conversation

@LukasPrediger
Copy link
Collaborator

Fixes #53

CONTRIBUTING.md Outdated

3. This Project uses [RustFmt](https://github.com/rust-lang/rustfmt) to ensure proper formatting. PRs that do not adhere to the formatting will not be able to be merged! The formatting can be done using `cargo fmt --all`. If you are using IntelliJ Idea for developing you can set up RustFmt using the `Languages&Frameworks > Rust > RustFmt` settings

4. This Project uses [Clippy](https://github.com/rust-lang/rust-clippy) as a code linter. Execute it before committing using `cargo clippy -- -D warnings`. Intellij allows you to run Clippy while developing, to find linter errors as they happen
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the PR verification workflow does more:

cargo fmt --all -- --check
cargo check --tests --examples
cargo test --verbose
cargo clippy -- -D warnings

And then

cargo +nightly clippy --color=always --all-targets -- -W clippy::pedantic

Maybe we can simplify this with a shell script that contributors can then use, see #110 (and #109)

@stefanscheidt
Copy link
Collaborator

We should update this PR after #111 got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Contributing.md

3 participants