Skip to content

Commit 0a4fad0

Browse files
committed
Merge branch 'main' into rust
2 parents 4830f9b + a3e8ad2 commit 0a4fad0

File tree

218 files changed

+6050
-2304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+6050
-2304
lines changed

.github/pull_request_template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Before opening a Pull Request, please read the following items:
2+
1. Make sure you have read the [CONTRIBUTING](../CONTRIBUTING.md) guidelines
3+
2. Make sure no other PR is implementing the same change
4+
3. Make sure the Continuous Integration workflows (Github Actions) are all passing
5+
4. If in doubt about how to approach another contributor, read our [CODE OF CONDUCT](../CODE_OF_CONDUCT.md) guidelines
6+
7+
<!-- Remove the above section before opening the pull request -->
8+
9+
# Description
10+
<!-- Add a brief description of the changes related to this Pull Request -->

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.metals
2+
__pycache__/

CODE_OF_CONDUCT.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
2+
# Code of Conduct
3+
4+
## Our Pledge
5+
6+
We as members, contributors, and leaders pledge to make participation in our
7+
community a harassment-free experience for everyone, regardless of age, body
8+
size, visible or invisible disability, ethnicity, sex characteristics, gender
9+
identity and expression, level of experience, education, socio-economic status,
10+
nationality, personal appearance, race, caste, color, religion, or sexual
11+
identity and orientation.
12+
13+
We pledge to act and interact in ways that contribute to an open, welcoming,
14+
diverse, inclusive, and healthy community.
15+
16+
## Our Standards
17+
18+
Examples of behavior that contributes to a positive environment for our
19+
community include:
20+
21+
* Demonstrating empathy and kindness toward other people
22+
* Being respectful of differing opinions, viewpoints, and experiences
23+
* Giving and gracefully accepting constructive feedback
24+
* Accepting responsibility and apologizing to those affected by our mistakes,
25+
and learning from the experience
26+
* Focusing on what is best not just for us as individuals, but for the overall
27+
community
28+
29+
Examples of unacceptable behavior include:
30+
31+
* The use of sexualized language or imagery, and sexual attention or advances of
32+
any kind
33+
* Trolling, insulting or derogatory comments, and personal or political attacks
34+
* Public or private harassment
35+
* Publishing others' private information, such as a physical or email address,
36+
without their explicit permission
37+
* Other conduct which could reasonably be considered inappropriate in a
38+
professional setting
39+
40+
## Enforcement Responsibilities
41+
42+
Community leaders are responsible for clarifying and enforcing our standards of
43+
acceptable behavior and will take appropriate and fair corrective action in
44+
response to any behavior that they deem inappropriate, threatening, offensive,
45+
or harmful.
46+
47+
Community leaders have the right and responsibility to remove, edit, or reject
48+
comments, commits, code, wiki edits, issues, and other contributions that are
49+
not aligned to this Code of Conduct, and will communicate reasons for moderation
50+
decisions when appropriate.
51+
52+
## Scope
53+
54+
This Code of Conduct applies within all community spaces, and also applies when
55+
an individual is officially representing the community in public spaces.
56+
Examples of representing our community include using an official e-mail address,
57+
posting via an official social media account, or acting as an appointed
58+
representative at an online or offline event.
59+
60+
## Enforcement
61+
62+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
63+
reported to the community leaders.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Attribution
70+
71+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
72+
version 2.1, available at
73+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
74+
75+
[homepage]: https://www.contributor-covenant.org
76+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
77+
[Mozilla CoC]: https://github.com/mozilla/diversity
78+
[FAQ]: https://www.contributor-covenant.org/faq
79+
[translations]: https://www.contributor-covenant.org/translations

CONTRIBUTING-pt-br.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,58 @@
1-
[![en](https://img.shields.io/badge/lang-en-red.svg)](CONTRIBUTING.md)
2-
[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](CONTRIBUTING-pt-br.md)
31
# Contributing
42

5-
You can contribute in 3 ways: creating issues, opening pull requests, and reviewing pull requests.
6-
## Creating Issues
3+
Thanks for your interest in contributing! We appreciate your support, and we welcome contributions from the community.
74

8-
Feel free to create an issue if you encounter any problems, have any suggestions, or would like a specific new algorithm or language to be included. Open a new PR directly in cases of minor corrections or inclusion of algorithms already listed in a language not yet implemented.
5+
Before you start contributing, please take a moment to review this document to understand the process and guidelines for contributing to our project.
96

10-
Before creating the issue, check for similar issues and remember to detail the problem encountered or proposed suggestion.
7+
## Code of Conduct
118

12-
## Opening Pull Requests
9+
We have adopted a [Code of Conduct](./CODE_OF_CONDUCT.md) that we expect all community members to follow. Please make sure to review and adhere to it in all interactions within our community.
1310

14-
It is also possible to contribute by opening a Pull Request (PR) with a solution to a problem or including a new algorithm.
11+
## How Can I Contribute?
1512

16-
When opening a PR, remember to include a relevant description of the changes made and add a link in the project's README if new algorithms are incorporated.
13+
There are various ways to contribute:
1714

18-
## Reviewing Pull Requests
15+
- Reporting Issues: If you encounter a bug or have a feature request, please open an issue on GitHub.
16+
- Code Contributions: If you are a developer, you can help us by submitting pull requests.
17+
- Documentation: Improvements to our documentation are always welcome.
1918

20-
Another way to contribute to the project is by reviewing open PRs. If you have mastery of an algorithm, data structure, or even a specific programming language, feel free to help review the open PRs.
19+
## Reporting Issues
2120

22-
When reviewing, remember to be cordial/polite and, if possible, manually test the change or correction before approving the PR.
21+
If you encounter an issue or have a feature request, please follow these steps:
22+
23+
1. Check if the issue or feature request already exists.
24+
2. If it doesn't exist, please open a new issue, providing a clear and detailed description of the problem or request.
25+
3. Use a descriptive title, provide steps to reproduce the issue, and specify your environment.
26+
27+
## Development Guidelines
28+
29+
Before you start working on a contribution, please keep in mind the following guidelines:
30+
31+
- Adhere to our [Code of Conduct](./CODE_OF_CONDUCT.md).
32+
- Respect and follow existing project coding standards.
33+
- Write clear and concise commit messages.
34+
- Test your changes thoroughly.
35+
- Make your code clean and readable.
36+
- Document your code as necessary.
37+
38+
## Submitting Pull Requests
39+
40+
To submit a pull request, please follow these steps:
41+
42+
1. Fork the repository.
43+
2. Create a new branch for your contribution: `git checkout -b feature/my-contribution`.
44+
3. Make your changes and commit them.
45+
4. Ensure that your code is properly tested.
46+
5. Create a pull request against our main branch.
47+
6. Clearly describe your changes, why they are necessary, and how to test them.
48+
7. Be responsive to feedback and participate in the review process.
49+
50+
## Review Process
51+
52+
All contributions will be reviewed by project maintainers. We may provide feedback or request additional changes. Your contribution will be merged once it meets our standards.
53+
54+
## Getting Help
55+
56+
If you need assistance or have any questions, you can reach out to us. We are here to help you with your contributions.
57+
58+
We look forward to your contributions and thank you for your time and effort!

logos/c.svg

Lines changed: 1 addition & 0 deletions
Loading

logos/cplusplus.svg

Lines changed: 1 addition & 0 deletions
Loading

logos/github.svg

Lines changed: 12 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)