Skip to content

Commit 21cb688

Browse files
Add a code of conduct from template (pylint-dev#5589)
* Add a code of conduct from template (then auto fixed by pre-commit)
1 parent c0fbbb7 commit 21cb688

File tree

1 file changed

+120
-0
lines changed

1 file changed

+120
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a
6+
harassment-free experience for everyone, regardless of age, body size, visible or
7+
invisible disability, ethnicity, sex characteristics, gender identity and expression,
8+
level of experience, education, socio-economic status, nationality, personal appearance,
9+
race, religion, or sexual identity and orientation.
10+
11+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse,
12+
inclusive, and healthy community.
13+
14+
## Our Standards
15+
16+
Examples of behavior that contributes to a positive environment for our community
17+
include:
18+
19+
- Demonstrating empathy and kindness toward other people
20+
- Being respectful of differing opinions, viewpoints, and experiences
21+
- Giving and gracefully accepting constructive feedback
22+
- Accepting responsibility and apologizing to those affected by our mistakes, and
23+
learning from the experience
24+
- Focusing on what is best not just for us as individuals, but for the overall community
25+
26+
Examples of unacceptable behavior include:
27+
28+
- The use of sexualized language or imagery, and sexual attention or advances of any
29+
kind
30+
- Trolling, insulting or derogatory comments, and personal or political attacks
31+
- Public or private harassment
32+
- Publishing others' private information, such as a physical or email address, without
33+
their explicit permission
34+
- Other conduct which could reasonably be considered inappropriate in a professional
35+
setting
36+
37+
## Enforcement Responsibilities
38+
39+
Community leaders are responsible for clarifying and enforcing our standards of
40+
acceptable behavior and will take appropriate and fair corrective action in response to
41+
any behavior that they deem inappropriate, threatening, offensive, or harmful.
42+
43+
Community leaders have the right and responsibility to remove, edit, or reject comments,
44+
commits, code, wiki edits, issues, and other contributions that are not aligned to this
45+
Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
46+
47+
## Scope
48+
49+
This Code of Conduct applies within all community spaces, and also applies when an
50+
individual is officially representing the community in public spaces. Examples of
51+
representing our community include using an official e-mail address, posting via an
52+
official social media account, or acting as an appointed representative at an online or
53+
offline event.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to
58+
the community leaders responsible for enforcement at pierre.sassoulas at gmail.com. All
59+
complaints will be reviewed and investigated promptly and fairly.
60+
61+
All community leaders are obligated to respect the privacy and security of the reporter
62+
of any incident.
63+
64+
## Enforcement Guidelines
65+
66+
Community leaders will follow these Community Impact Guidelines in determining the
67+
consequences for any action they deem in violation of this Code of Conduct:
68+
69+
### 1. Correction
70+
71+
**Community Impact**: Use of inappropriate language or other behavior deemed
72+
unprofessional or unwelcome in the community.
73+
74+
**Consequence**: A private, written warning from community leaders, providing clarity
75+
around the nature of the violation and an explanation of why the behavior was
76+
inappropriate. A public apology may be requested.
77+
78+
### 2. Warning
79+
80+
**Community Impact**: A violation through a single incident or series of actions.
81+
82+
**Consequence**: A warning with consequences for continued behavior. No interaction with
83+
the people involved, including unsolicited interaction with those enforcing the Code of
84+
Conduct, for a specified period of time. This includes avoiding interactions in
85+
community spaces as well as external channels like social media. Violating these terms
86+
may lead to a temporary or permanent ban.
87+
88+
### 3. Temporary Ban
89+
90+
**Community Impact**: A serious violation of community standards, including sustained
91+
inappropriate behavior.
92+
93+
**Consequence**: A temporary ban from any sort of interaction or public communication
94+
with the community for a specified period of time. No public or private interaction with
95+
the people involved, including unsolicited interaction with those enforcing the Code of
96+
Conduct, is allowed during this period. Violating these terms may lead to a permanent
97+
ban.
98+
99+
### 4. Permanent Ban
100+
101+
**Community Impact**: Demonstrating a pattern of violation of community standards,
102+
including sustained inappropriate behavior, harassment of an individual, or aggression
103+
toward or disparagement of classes of individuals.
104+
105+
**Consequence**: A permanent ban from any sort of public interaction within the
106+
community.
107+
108+
## Attribution
109+
110+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
111+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
112+
113+
Community Impact Guidelines were inspired by
114+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
115+
116+
[homepage]: https://www.contributor-covenant.org
117+
118+
For answers to common questions about this code of conduct, see the FAQ at
119+
https://www.contributor-covenant.org/faq. Translations are available at
120+
https://www.contributor-covenant.org/translations.

0 commit comments

Comments
 (0)