Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6030a69

Browse files
authored
Merge pull request #18802 from dstansby/code-of-conduct
Add code of conduct
2 parents 2e3249e + 1021af6 commit 6030a69

File tree

4 files changed

+139
-14
lines changed

4 files changed

+139
-14
lines changed

.github/CODE_OF_CONDUCT.md

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

CODE_OF_CONDUCT.md

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

doc/devel/contributing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Contributing
55
============
66

77
This project is a community effort, and everyone is welcome to
8-
contribute. We follow the `Python Software Foundation Code of Conduct
9-
<coc_>`_ in everything we do.
8+
contribute. Everyone within the community
9+
is expected to abide by our `code of conduct <../../CODE_OF_CONDUCT.md>`_.
1010

11-
The project is hosted on https://github.com/matplotlib/matplotlib
11+
The project is hosted on
12+
https://github.com/matplotlib/matplotlib
1213

13-
.. _coc: http://www.python.org/psf/codeofconduct/
1414

1515
.. _submitting-a-bug-report:
1616

doc/index.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ Trying to learn how to do a particular kind of plot? Check out the
7777
Join our community!
7878
~~~~~~~~~~~~~~~~~~~
7979

80-
Matplotlib is a welcoming, inclusive project, and we follow the `Python
81-
Software Foundation Code of Conduct <coc_>`_ in everything we do.
82-
83-
.. _coc: https://www.python.org/psf/conduct/
80+
Matplotlib is a welcoming, inclusive project, and everyone within the community
81+
is expected to abide by our `code of conduct <../CODE_OF_CONDUCT.md>`_.
8482

8583

8684
.. raw:: html

0 commit comments

Comments
 (0)