Skip to content

Add Contributor Covenant Code of Conduct - #185

Merged
atong01 merged 2 commits into
mainfrom
atong01-code-of-conduct
Jul 20, 2026
Merged

Add Contributor Covenant Code of Conduct#185
atong01 merged 2 commits into
mainfrom
atong01-code-of-conduct

Conversation

@atong01

@atong01 atong01 commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Added Contributor Covenant Code of Conduct to outline community standards and enforcement guidelines.

Summary by Sourcery

Documentation:

  • Introduce CODE_OF_CONDUCT.md describing community standards, reporting procedures, and enforcement guidelines for project participation.

Added Contributor Covenant Code of Conduct to outline community standards and enforcement guidelines.
@sourcery-ai

sourcery-ai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Adds a standard Contributor Covenant Code of Conduct document to the repository to define community standards, reporting channels, and enforcement guidelines.

Flow diagram for Code of Conduct reporting and enforcement process

flowchart TD
  A[Incident occurs
  in community] --> B[Report sent to
  community leaders
  at alexandertongdev@gmail.com]
  B --> C[Leaders review
  and investigate]
  C --> D{Community impact
  assessment}

  D -->|Minor issue| E[Correction
  private written warning]
  D -->|Single or series
  of violations| F[Warning
  with conditions]
  D -->|Serious violation| G[Temporary ban]
  D -->|Pattern of violations
  or harassment| H[Permanent ban]
Loading

File-Level Changes

Change Details Files
Introduce a formal, documented code of conduct for project contributors and community members.
  • Added a new CODE_OF_CONDUCT.md file containing the Contributor Covenant v2.0 text.
  • Defined expected positive and unacceptable behaviors within the community.
  • Documented enforcement responsibilities, scope, and incident reporting process including a contact email address.
  • Outlined graduated enforcement guidelines (correction, warning, temporary ban, permanent ban) and their associated consequences.
  • Included attribution and reference links to the Contributor Covenant homepage, FAQ, and translations.
CODE_OF_CONDUCT.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 2 issues, and left some high level feedback:

  • Consider using a project- or organization-level contact address (e.g., a shared alias) instead of a personal email for enforcement to make future maintainer changes easier.
  • You may want to clarify in the Enforcement section who specifically counts as "community leaders" for this project (e.g., core maintainer list or role description) to make the reporting process more concrete for contributors.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider using a project- or organization-level contact address (e.g., a shared alias) instead of a personal email for enforcement to make future maintainer changes easier.
- You may want to clarify in the Enforcement section who specifically counts as "community leaders" for this project (e.g., core maintainer list or role description) to make the reporting process more concrete for contributors.

## Individual Comments

### Comment 1
<location path="CODE_OF_CONDUCT.md" line_range="108-110" />
<code_context>
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior,  harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
</code_context>
<issue_to_address>
**issue (typo):** Fix double space before "harassment" in the "Permanent Ban" description.

There are two spaces between "behavior," and "harassment" in this line; please change to a single space.

```suggestion
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
```
</issue_to_address>

### Comment 2
<location path="CODE_OF_CONDUCT.md" line_range="34-43" />
<code_context>
+* Publishing others' private information, such as a physical or email
</code_context>
<issue_to_address>
**nitpick (typo):** Consider using a consistent spelling for "email" vs "e-mail".

You use "email" in "such as a physical or email address" and "e-mail" in "using an official e-mail address". Please standardize on one spelling for consistency across the document.

Suggested implementation:

```
* Publishing others' private information, such as a physical or email address,
  without their explicit permission

```

Search the rest of `CODE_OF_CONDUCT.md` for "e-mail" and replace it with "email" to maintain consistent spelling throughout the document. For example, change "using an official e-mail address" to "using an official email address".
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread CODE_OF_CONDUCT.md
Comment thread CODE_OF_CONDUCT.md
Comment on lines +34 to +43
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nitpick (typo): Consider using a consistent spelling for "email" vs "e-mail".

You use "email" in "such as a physical or email address" and "e-mail" in "using an official e-mail address". Please standardize on one spelling for consistency across the document.

Suggested implementation:

* Publishing others' private information, such as a physical or email address,
  without their explicit permission

Search the rest of CODE_OF_CONDUCT.md for "e-mail" and replace it with "email" to maintain consistent spelling throughout the document. For example, change "using an official e-mail address" to "using an official email address".

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Make this change to use email

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sounds good. To apply this consistently, update the remaining instance so it reads:

Examples of representing our community include using an official email address,

That will align with the earlier usage:

such as a physical or email address,

Once that change is in, the spelling of "email" will be consistent across the document.

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
@atong01
atong01 merged commit 7c65385 into main Jul 20, 2026
18 of 19 checks passed
@atong01
atong01 deleted the atong01-code-of-conduct branch July 20, 2026 22:02
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.

1 participant