Skip to content

Commit 2cced50

Browse files
authored
Merge pull request #521 from grlee77/code_of_conduct
DOC: adopt the SciPy Code of Conduct
2 parents ed5e03c + afe7816 commit 2cced50

File tree

6 files changed

+401
-2
lines changed

6 files changed

+401
-2
lines changed

community_guidelines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ through our GitHub profiles). We are committed to making this community a
1919
safe and welcome space.
2020

2121
You can learn more about contributing to PyWavelets at
22-
http://pywavelets.readthedocs.io/en/latest/#state-of-development-contributing
22+
https://pywavelets.readthedocs.io/en/latest/contributing.html

doc/source/common_refs.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
.. _Matplotlib: http://matplotlib.org
1717
.. _guidelines for pull requests: https://github.com/PyWavelets/pywt/tree/master/CONTRIBUTING.rst
1818
.. _community guidelines: https://github.com/PyWavelets/pywt/tree/master/community_guidelines.rst
19+
.. _code of conduct: https://github.com/PyWavelets/pywt/tree/master/doc/source/dev/conduct/community_guidelines.rst
1920
.. _StackOverflow: https://stackoverflow.com
2021
.. _wavelets.pybytes.com: http://wavelets.pybytes.com/

doc/source/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interest in PyWavelets are very welcome to join the development team! Please
77
see our `guidelines for pull requests`_ for more information.
88

99
Contributors are expected to behave in a productive and respectful manner in
10-
accordance with our `community guidelines`_.
10+
accordance with our `community guidelines`_ and :ref:`CoC`.
1111

1212

1313
History
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
.. _CoC:
2+
3+
PyWavelets Code of Conduct
4+
==========================
5+
6+
7+
Introduction
8+
------------
9+
10+
This code of conduct applies to all spaces managed by the PyWavelets project,
11+
including all public and private mailing lists, issue trackers, wikis, blogs,
12+
Twitter, and any other communication channel used by our community. The
13+
PyWavelets project does not organise in-person events, however events related
14+
to our community should have a code of conduct similar in spirit to this one.
15+
16+
This code of conduct should be honored by everyone who participates in
17+
the PyWavelets community formally or informally, or claims any affiliation with
18+
the project, in any project-related activities and especially when representing
19+
the project, in any role.
20+
21+
This code is not exhaustive or complete. It serves to distill our common
22+
understanding of a collaborative, shared environment and goals. Please try to
23+
follow this code in spirit as much as in letter, to create a friendly and
24+
productive environment that enriches the surrounding community.
25+
26+
This code of conduct was adapted from SciPy's code of conduct without any
27+
substantial modification in terms. We wish to thank the SciPy contributors for
28+
their hard work in authoring these terms and in helping develop a community
29+
consensus them.
30+
31+
32+
Specific Guidelines
33+
-------------------
34+
35+
We strive to:
36+
37+
1. Be open. We invite anyone to participate in our community. We prefer to use
38+
public methods of communication for project-related messages, unless
39+
discussing something sensitive. This applies to messages for help or
40+
project-related support, too; not only is a public support request much more
41+
likely to result in an answer to a question, it also ensures that any
42+
inadvertent mistakes in answering are more easily detected and corrected.
43+
44+
2. Be empathetic, welcoming, friendly, and patient. We work together to resolve
45+
conflict, and assume good intentions. We may all experience some frustration
46+
from time to time, but we do not allow frustration to turn into a personal
47+
attack. A community where people feel uncomfortable or threatened is not a
48+
productive one.
49+
50+
3. Be collaborative. Our work will be used by other people, and in turn we will
51+
depend on the work of others. When we make something for the benefit of the
52+
project, we are willing to explain to others how it works, so that they can
53+
build on the work to make it even better. Any decision we make will affect
54+
users and colleagues, and we take those consequences seriously when making
55+
decisions.
56+
57+
4. Be inquisitive. Nobody knows everything! Asking questions early avoids many
58+
problems later, so we encourage questions, although we may direct them to
59+
the appropriate forum. We will try hard to be responsive and helpful.
60+
61+
5. Be careful in the words that we choose. We are careful and respectful in
62+
our communication and we take responsibility for our own speech. Be kind to
63+
others. Do not insult or put down other participants. We will not accept
64+
harassment or other exclusionary behaviour, such as:
65+
66+
- Violent threats or language directed against another person.
67+
- Sexist, racist, or otherwise discriminatory jokes and language.
68+
- Posting sexually explicit or violent material.
69+
- Posting (or threatening to post) other people's personally identifying information ("doxing").
70+
- Sharing private content, such as emails sent privately or non-publicly,
71+
or unlogged forums such as IRC channel history, without the sender's consent.
72+
- Personal insults, especially those using racist or sexist terms.
73+
- Unwelcome sexual attention.
74+
- Excessive profanity. Please avoid swearwords; people differ greatly in their sensitivity to swearing.
75+
- Repeated harassment of others. In general, if someone asks you to stop, then stop.
76+
- Advocating for, or encouraging, any of the above behaviour.
77+
78+
79+
Diversity Statement
80+
-------------------
81+
82+
The PyWavelets project welcomes and encourages participation by everyone. We
83+
are committed to being a community that everyone enjoys being part of. Although
84+
we may not always be able to accommodate each individual's preferences, we try
85+
our best to treat everyone kindly.
86+
87+
No matter how you identify yourself or how others perceive you: we welcome you.
88+
Though no list can hope to be comprehensive, we explicitly honour diversity in:
89+
age, culture, ethnicity, genotype, gender identity or expression, language,
90+
national origin, neurotype, phenotype, political beliefs, profession, race,
91+
religion, sexual orientation, socioeconomic status, subculture and technical
92+
ability, to the extent that these do not conflict with this code of conduct.
93+
94+
Though we welcome people fluent in all languages, PyWavelets development is
95+
conducted in English.
96+
97+
Standards for behaviour in the PyWavelets community are detailed in the Code of
98+
Conduct above. Participants in our community should uphold these standards
99+
in all their interactions and help others to do so as well (see next section).
100+
101+
102+
Reporting Guidelines
103+
--------------------
104+
105+
We know that it is painfully common for internet communication to start at or
106+
devolve into obvious and flagrant abuse. We also recognize that sometimes
107+
people may have a bad day, or be unaware of some of the guidelines in this Code
108+
of Conduct. Please keep this in mind when deciding on how to respond to a
109+
breach of this Code.
110+
111+
For clearly intentional breaches, report those to the Code of Conduct committee
112+
(see below). For possibly unintentional breaches, you may reply to the person
113+
and point out this code of conduct (either in public or in private, whatever is
114+
most appropriate). If you would prefer not to do that, please feel free to
115+
report to the Code of Conduct Committee directly, or ask the Committee for
116+
advice, in confidence.
117+
118+
You can report issues to the PyWavelets Code of Conduct committee, at
119+
PyWavelets-conduct@googlegroups.com. Currently, the committee consists of:
120+
121+
- Gregory Lee
122+
- Ralf Gommers
123+
- Alexandre de Siqueira
124+
125+
If your report involves any members of the committee, or if they feel they have
126+
a conflict of interest in handling it, then they will recuse themselves from
127+
considering your report. Alternatively, if for any reason you feel
128+
uncomfortable making a report to the committee, then you can also contact:
129+
130+
- Chair of the PyWavelets Steering Committee: Gregory Lee
131+
132+
133+
Incident reporting resolution & Code of Conduct enforcement
134+
-----------------------------------------------------------
135+
136+
*This section summarizes the most important points, more details can be found
137+
in* :ref:`CoC_reporting_manual`.
138+
139+
We will investigate and respond to all complaints. The PyWavelets Code of
140+
Conduct Committee and the PyWavelets Steering Committee (if involved) will
141+
protect the identity of the reporter, and treat the content of complaints as
142+
confidential (unless the reporter agrees otherwise).
143+
144+
In case of severe and obvious breaches, e.g. personal threat or violent, sexist
145+
or racist language, we will immediately disconnect the originator from
146+
PyWavelets communication channels; please see the manual for details.
147+
148+
In cases not involving clear severe and obvious breaches of this code of
149+
conduct, the process for acting on any received code of conduct violation
150+
report will be:
151+
152+
1. acknowledge report is received
153+
2. reasonable discussion/feedback
154+
3. mediation (if feedback didn't help, and only if both reporter and reportee agree to this)
155+
4. enforcement via transparent decision (see :ref:`CoC_resolutions`) by the
156+
Code of Conduct Committee
157+
158+
The committee will respond to any report as soon as possible, and at most
159+
within 72 hours.
160+
161+
162+
Endnotes
163+
--------
164+
165+
We are thankful to the SciPy developers for creating the code of conduct we
166+
have adapated here.
167+
168+
- `Scipy Code of Conduct <http://scipy.github.io/devdocs/dev/conduct/code_of_conduct.html>`_
169+
170+
The SciPy code of conduct was in turn inspired by the following documents:
171+
172+
- `The Apache Foundation Code of Conduct <https://www.apache.org/foundation/policies/conduct.html>`_
173+
- `The Contributor Covenant <https://www.contributor-covenant.org/version/1/4/code-of-conduct/>`_
174+
- `Jupyter Code of Conduct <https://github.com/jupyter/governance/tree/master/conduct>`_
175+
- `Open Source Guides - Code of Conduct <https://opensource.guide/code-of-conduct/>`_
176+

0 commit comments

Comments
 (0)