7

slint/CONTRIBUTING.md at master · slint-ui/slint · GitHub

 3 years ago
source link: https://github.com/slint-ui/slint/blob/master/CONTRIBUTING.md
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

31 lines (19 sloc) 1.4 KB

Contributing

We warmly welcome contributions to the project. Let's discuss ideas or questions in Github discussions. Please feel welcome to open github issues, pull requests or comment for example on RFC tagged issues.

Coding Style

For the Rust portion of the code base, we enforce the coding style via rustfmt. The rustfmt.toml in the root direction is used to configure the style.

For the C++ portion of the code base, we enforce the coding style via clang-format, via the .clang-format file in the root directory.

Tooling

pre-commit is set up and ready to be used in this repository. Simply install the pre-commit python script using:

> pip install pre-commit
> pre-commit install

and the pre-commit git hooks will be active and do basic sanity checks on your code whenever you commit something.

Testing

All changes submitted to the repository are automatically built and tested via Github Actions and the corresponding workflow defined in the rust.yaml file.

Contributor License Agreement

When opening a pull request, you will be asked to sign a Contributor License Agreement (CLA) which will allow us to relicense your contribution. Please contact us for any concerns.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK