Skip to content

Commit b211d60

Browse files
authored
Merge pull request matplotlib#26777 from meeseeksmachine/auto-backport-of-pr-26702-on-v3.8.x
2 parents e0eb924 + f5d17a8 commit b211d60

File tree

3 files changed

+152
-134
lines changed

3 files changed

+152
-134
lines changed

CODE_OF_CONDUCT.md

+4-134
Original file line numberDiff line numberDiff line change
@@ -1,136 +1,6 @@
1+
<!--placeholder page so Github knows we have a CoC-->
12

2-
# Contributor Covenant Code of Conduct
3+
Our Code of Conduct is at
4+
https://matplotlib.org/stable/users/project/code_of_conduct.html
35

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, religion, or sexual identity
11-
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
27-
overall community
28-
29-
Examples of unacceptable behavior include:
30-
31-
* The use of sexualized language or imagery, and sexual attention or
32-
advances of 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
36-
address, 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 responsible for enforcement at
64-
65-
(monitored by the [CoC subcommittee](https://matplotlib.org/governance/people.html#coc-subcommittee)) or a
66-
report can be made using the [NumFOCUS Code of Conduct report form][numfocus
67-
form]. If community leaders cannot come to a resolution about enforcement,
68-
reports will be escalated to the NumFocus Code of Conduct committee
69-
([email protected]). All complaints will be reviewed and investigated
70-
promptly and fairly.
71-
72-
All community leaders are obligated to respect the privacy and security of the
73-
reporter of any incident.
74-
75-
[numfocus form]: https://numfocus.typeform.com/to/ynjGdT
76-
77-
## Enforcement Guidelines
78-
79-
Community leaders will follow these Community Impact Guidelines in determining
80-
the consequences for any action they deem in violation of this Code of Conduct:
81-
82-
### 1. Correction
83-
84-
**Community Impact**: Use of inappropriate language or other behavior deemed
85-
unprofessional or unwelcome in the community.
86-
87-
**Consequence**: A private, written warning from community leaders, providing
88-
clarity around the nature of the violation and an explanation of why the
89-
behavior was inappropriate. A public apology may be requested.
90-
91-
### 2. Warning
92-
93-
**Community Impact**: A violation through a single incident or series
94-
of actions.
95-
96-
**Consequence**: A warning with consequences for continued behavior. No
97-
interaction with the people involved, including unsolicited interaction with
98-
those enforcing the Code of Conduct, for a specified period of time. This
99-
includes avoiding interactions in community spaces as well as external channels
100-
like social media. Violating these terms may lead to a temporary or
101-
permanent ban.
102-
103-
### 3. Temporary Ban
104-
105-
**Community Impact**: A serious violation of community standards, including
106-
sustained inappropriate behavior.
107-
108-
**Consequence**: A temporary ban from any sort of interaction or public
109-
communication with the community for a specified period of time. No public or
110-
private interaction with the people involved, including unsolicited interaction
111-
with those enforcing the Code of Conduct, is allowed during this period.
112-
Violating these terms may lead to a permanent ban.
113-
114-
### 4. Permanent Ban
115-
116-
**Community Impact**: Demonstrating a pattern of violation of community
117-
standards, including sustained inappropriate behavior, harassment of an
118-
individual, or aggression toward or disparagement of classes of individuals.
119-
120-
**Consequence**: A permanent ban from any sort of public interaction within
121-
the community.
122-
123-
## Attribution
124-
125-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
126-
version 2.0, available at
127-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
128-
129-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
130-
enforcement ladder](https://github.com/mozilla/diversity).
131-
132-
[homepage]: https://www.contributor-covenant.org
133-
134-
For answers to common questions about this code of conduct, see the FAQ at
135-
https://www.contributor-covenant.org/faq. Translations are available at
136-
https://www.contributor-covenant.org/translations.
6+
It is rendered from `doc/users/project/code_of_conduct.rst`

doc/users/project/code_of_conduct.rst

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

doc/users/project/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Project information
88

99
mission.rst
1010
history.rst
11+
Code of Conduct <code_of_conduct.rst>
1112
citing.rst
1213
license.rst
1314
credits.rst

0 commit comments

Comments
 (0)