Skip to content

Contributor Covenant Code of Conduct

Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, colour, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

Our Standards

Examples of behaviour that contributes to a positive environment for our community include:

  • Demonstrating empathy and kindness toward other people
  • Being respectful of differing opinions, viewpoints, and experiences
  • Giving and gracefully accepting constructive feedback
  • Accepting responsibility and apologising to those affected by our mistakes, and learning from the experience
  • Focusing on what is best not just for us as individuals, but for the overall community

Examples of unacceptable behaviour include:

  • The use of sexualised language or imagery, and sexual attention or advances of any kind
  • Trolling, insulting or derogatory comments, and personal or political attacks
  • Public or private harassment
  • 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

The maintainer is responsible for clarifying and enforcing these standards and will take appropriate and fair corrective action in response to any behaviour that they deem inappropriate, threatening, offensive, or harmful.

The maintainer has the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

Enforcement

Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported to the maintainer. All complaints will be reviewed and investigated promptly and fairly.

The maintainer is obligated to respect the privacy and security of the reporter of any incident. Reports are read privately; they are not discussed in a public issue.

Enforcement Guidelines

The maintainer will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

1. Correction

Community Impact: Use of inappropriate language or other behaviour deemed unprofessional or unwelcome in the community.

Consequence: A private, written warning, providing clarity around the nature of the violation and an explanation of why the behaviour was inappropriate. A public apology may be requested.

2. Warning

Community Impact: A violation through a single incident or series of actions.

Consequence: A warning with consequences for continued behaviour. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

3. Temporary Ban

Community Impact: A serious violation of community standards, including sustained inappropriate behaviour.

Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

4. Permanent Ban

Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behaviour, harassment of an individual, or aggression toward or disparagement of classes of individuals.

Consequence: A permanent ban from any sort of public interaction within the community.

Reporting

Write to xiyuera@gmail.com — the same address SECURITY.md gives for vulnerability reports. If you would rather not write privately, open an issue that says only that you need to report something; the maintainer will move the conversation to a private channel.

Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.

Community Impact Guidelines were inspired by Mozilla's code of conduct enforcement ladder.

For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.


中文摘要

本节是上面英文文本的摘要,不是替代条款;发生歧义时以英文原文为准。

  • 承诺:无论年龄、体型、可见或不可见的残障、族裔、性特征、性别认同与表达、经验水平、教育、 社会经济地位、国籍、外貌、种族、种姓、肤色、宗教或性取向,参与本项目都应免受骚扰。
  • 期望的行为:体谅他人、尊重不同观点、给出并接受建设性反馈、为错误负责并从中学习、 以整个社区的利益为重。
  • 不可接受的行为:性化的语言或图像、以及任何形式的性关注或性挑逗;嘲讽、侮辱或 贬损性评论、人身或政治攻击;公开或私下骚扰;未经许可公布他人隐私信息(如住址或邮箱); 以及其他在职业场合下合理认为不当的行为。
  • 执行:由维护者负责澄清与执行。举报写到 xiyuera@gmail.com(与 SECURITY.md 同一地址), 举报内容私下处理,不在公开 issue 中展开。
  • 处置:按社区影响分四级——修正(私下书面提醒)、警告、临时封禁、永久封禁。