mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Clears warnings for the following checks in clang-tidy: readability-braces-around-statements readability-else-after-return checks Also adds hints about code style to CONTRIBUTING document. Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
18 lines
611 B
Markdown
18 lines
611 B
Markdown
# Contributing
|
|
Contributions are welcomed. Open a pull-request or an issue.
|
|
|
|
## Code of conduct
|
|
This project adheres to the [Open Code of Conduct][code-of-conduct]. By participating, you are expected to honor this code.
|
|
|
|
[code-of-conduct]: https://github.com/spotify/code-of-conduct/blob/master/code-of-conduct.md
|
|
|
|
## Code Style
|
|
|
|
This project prefers, but does not strictly enforce, a specific source code style. The style is described in `.clang-format` and `.clang-tidy`.
|
|
|
|
To generate a clang-tidy report:
|
|
|
|
```bash
|
|
clang-tidy --extra-arg=-std=c++17 --config-file=.clang-tidy include/argparse/argparse.hpp
|
|
```
|