| 1 |
.. _code-of-conduct: |
| 2 |
|
| 3 |
Code of Conduct |
| 4 |
=============== |
| 5 |
|
| 6 |
This code of conduct applies to the Trio project, and all associated |
| 7 |
projects in the `python-trio <https://github.com/python-trio>`__ |
| 8 |
organization. |
| 9 |
|
| 10 |
|
| 11 |
.. _coc-when-something-happens: |
| 12 |
|
| 13 |
When Something Happens |
| 14 |
---------------------- |
| 15 |
|
| 16 |
If you see a Code of Conduct violation, follow these steps: |
| 17 |
|
| 18 |
1. Let the person know that what they did is not appropriate and ask |
| 19 |
them to stop and/or edit their message(s) or commits. |
| 20 |
2. That person should immediately stop the behavior and correct the |
| 21 |
issue. |
| 22 |
3. If this doesn't happen, or if you're uncomfortable speaking up, |
| 23 |
:ref:`contact the maintainers <coc-contacting-maintainers>`. |
| 24 |
4. As soon as possible, a maintainer will look into the issue, and take |
| 25 |
:ref:`further action (see below) <coc-further-enforcement>`, starting with |
| 26 |
a warning, then temporary block, then long-term repo or organization |
| 27 |
ban. |
| 28 |
|
| 29 |
When reporting, please include any relevant details, links, screenshots, |
| 30 |
context, or other information that may be used to better understand and |
| 31 |
resolve the situation. |
| 32 |
|
| 33 |
**The maintainer team will prioritize the well-being and comfort of the |
| 34 |
recipients of the violation over the comfort of the violator.** See |
| 35 |
:ref:`some examples below <coc-enforcement-examples>`. |
| 36 |
|
| 37 |
Our Pledge |
| 38 |
---------- |
| 39 |
|
| 40 |
In the interest of fostering an open and welcoming environment, we as |
| 41 |
contributors and maintainers of this project pledge to making |
| 42 |
participation in our community a harassment-free experience for |
| 43 |
everyone, regardless of age, body size, disability, ethnicity, gender |
| 44 |
identity and expression, level of experience, technical preferences, |
| 45 |
nationality, personal appearance, race, religion, or sexual identity and |
| 46 |
orientation. |
| 47 |
|
| 48 |
Our Standards |
| 49 |
------------- |
| 50 |
|
| 51 |
Examples of behavior that contributes to creating a positive environment |
| 52 |
include: |
| 53 |
|
| 54 |
- Using welcoming and inclusive language. |
| 55 |
- Being respectful of differing viewpoints and experiences. |
| 56 |
- Gracefully accepting constructive feedback. |
| 57 |
- Focusing on what is best for the community. |
| 58 |
- Showing empathy and kindness towards other community members. |
| 59 |
- Encouraging and raising up your peers in the project so you can all |
| 60 |
bask in hacks and glory. |
| 61 |
|
| 62 |
Examples of unacceptable behavior by participants include: |
| 63 |
|
| 64 |
- The use of sexualized language or imagery and unwelcome sexual |
| 65 |
attention or advances, including when simulated online. The only |
| 66 |
exception to sexual topics is channels/spaces specifically for topics |
| 67 |
of sexual identity. |
| 68 |
- Casual mention of slavery or indentured servitude and/or false |
| 69 |
comparisons of one's occupation or situation to slavery. Please |
| 70 |
consider using or asking about alternate terminology when referring |
| 71 |
to such metaphors in technology. |
| 72 |
- Making light of/making mocking comments about trigger warnings and |
| 73 |
content warnings. |
| 74 |
- Trolling, insulting/derogatory comments, and personal or political |
| 75 |
attacks. |
| 76 |
- Public or private harassment, deliberate intimidation, or threats. |
| 77 |
- Publishing others' private information, such as a physical or |
| 78 |
electronic address, without explicit permission. This includes any |
| 79 |
sort of "outing" of any aspect of someone's identity without their |
| 80 |
consent. |
| 81 |
- Publishing screenshots or quotes of private interactions in the |
| 82 |
context of this project without all quoted users' *explicit* consent. |
| 83 |
- Publishing of private communication that doesn't have to do with |
| 84 |
reporting harassment. |
| 85 |
- Any of the above even when `presented as "ironic" or |
| 86 |
"joking" <https://en.wikipedia.org/wiki/Hipster_racism>`__. |
| 87 |
- Any attempt to present "reverse-ism" versions of the above as |
| 88 |
violations. Examples of reverse-isms are "reverse racism", "reverse |
| 89 |
sexism", "heterophobia", and "cisphobia". |
| 90 |
- Unsolicited explanations under the assumption that someone doesn't |
| 91 |
already know it. Ask before you teach! Don't assume what people's |
| 92 |
knowledge gaps are. |
| 93 |
- `Feigning or exaggerating |
| 94 |
surprise <https://www.recurse.com/manual#no-feigned-surprise>`__ when |
| 95 |
someone admits to not knowing something. |
| 96 |
- "`Well-actuallies <https://www.recurse.com/manual#no-well-actuallys>`__" |
| 97 |
- Other conduct which could reasonably be considered inappropriate in a |
| 98 |
professional or community setting. |
| 99 |
|
| 100 |
Scope |
| 101 |
----- |
| 102 |
|
| 103 |
This Code of Conduct applies both within spaces involving this project |
| 104 |
and in other spaces involving community members. This includes the |
| 105 |
repository, its Pull Requests and Issue tracker, its Twitter community, |
| 106 |
private email communications in the context of the project, and any |
| 107 |
events where members of the project are participating, as well as |
| 108 |
adjacent communities and venues affecting the project's members. |
| 109 |
|
| 110 |
Depending on the violation, the maintainers may decide that violations |
| 111 |
of this code of conduct that have happened outside of the scope of the |
| 112 |
community may deem an individual unwelcome, and take appropriate action |
| 113 |
to maintain the comfort and safety of its members. |
| 114 |
|
| 115 |
.. _coc-other-community-standards: |
| 116 |
|
| 117 |
Other Community Standards |
| 118 |
~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 119 |
|
| 120 |
As a project on GitHub, this project is additionally covered by the |
| 121 |
`GitHub Community |
| 122 |
Guidelines <https://help.github.com/articles/github-community-guidelines/>`__. |
| 123 |
|
| 124 |
Enforcement of those guidelines after violations overlapping with the |
| 125 |
above are the responsibility of the entities, and enforcement may happen |
| 126 |
in any or all of the services/communities. |
| 127 |
|
| 128 |
Maintainer Enforcement Process |
| 129 |
------------------------------ |
| 130 |
|
| 131 |
Once the maintainers get involved, they will follow a documented series |
| 132 |
of steps and do their best to preserve the well-being of project |
| 133 |
members. This section covers actual concrete steps. |
| 134 |
|
| 135 |
|
| 136 |
.. _coc-contacting-maintainers: |
| 137 |
|
| 138 |
Contacting Maintainers |
| 139 |
~~~~~~~~~~~~~~~~~~~~~~ |
| 140 |
|
| 141 |
As a small project, we don't have a Code of Conduct enforcement team. |
| 142 |
Hopefully that will be addressed as we grow, but for now, any issues |
| 143 |
should be addressed to `Nathaniel J. Smith |
| 144 |
<https://github.com/njsmith>`__, via `email <mailto:[email protected]>`__ |
| 145 |
or any other medium that you feel comfortable with. Using words like |
| 146 |
"Trio code of conduct" in your subject will help make sure your |
| 147 |
message is noticed quickly. |
| 148 |
|
| 149 |
|
| 150 |
.. _coc-further-enforcement: |
| 151 |
|
| 152 |
Further Enforcement |
| 153 |
~~~~~~~~~~~~~~~~~~~ |
| 154 |
|
| 155 |
If you've already followed the :ref:`initial enforcement steps |
| 156 |
<coc-when-something-happens>`, these are the steps maintainers will |
| 157 |
take for further enforcement, as needed: |
| 158 |
|
| 159 |
1. Repeat the request to stop. |
| 160 |
2. If the person doubles down, they will have offending messages removed |
| 161 |
or edited by a maintainers given an official warning. The PR or Issue |
| 162 |
may be locked. |
| 163 |
3. If the behavior continues or is repeated later, the person will be |
| 164 |
blocked from participating for 24 hours. |
| 165 |
4. If the behavior continues or is repeated after the temporary block, a |
| 166 |
long-term (6-12mo) ban will be used. |
| 167 |
5. If after this the behavior still continues, a permanent ban may be |
| 168 |
enforced. |
| 169 |
|
| 170 |
On top of this, maintainers may remove any offending messages, images, |
| 171 |
contributions, etc, as they deem necessary. |
| 172 |
|
| 173 |
Maintainers reserve full rights to skip any of these steps, at their |
| 174 |
discretion, if the violation is considered to be a serious and/or |
| 175 |
immediate threat to the health and well-being of members of the |
| 176 |
community. These include any threats, serious physical or verbal |
| 177 |
attacks, and other such behavior that would be completely unacceptable |
| 178 |
in any social setting that puts our members at risk. |
| 179 |
|
| 180 |
Members expelled from events or venues with any sort of paid attendance |
| 181 |
will not be refunded. |
| 182 |
|
| 183 |
Who Watches the Watchers? |
| 184 |
~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 185 |
|
| 186 |
Maintainers and other leaders who do not follow or enforce the Code of |
| 187 |
Conduct in good faith may face temporary or permanent repercussions as |
| 188 |
determined by other members of the project's leadership. These may |
| 189 |
include anything from removal from the maintainer team to a permanent |
| 190 |
ban from the community. |
| 191 |
|
| 192 |
Additionally, as a project hosted on GitHub, :ref:`their Code of |
| 193 |
Conduct may be applied against maintainers of this project |
| 194 |
<coc-other-community-standards>`, externally of this project's |
| 195 |
procedures. |
| 196 |
|
| 197 |
|
| 198 |
.. _coc-enforcement-examples: |
| 199 |
|
| 200 |
Enforcement Examples |
| 201 |
-------------------- |
| 202 |
|
| 203 |
The Best Case |
| 204 |
~~~~~~~~~~~~~ |
| 205 |
|
| 206 |
The vast majority of situations work out like this. This interaction is |
| 207 |
common, and generally positive. |
| 208 |
|
| 209 |
Alex: "Yeah I used X and it was really crazy!" |
| 210 |
|
| 211 |
Patt (not a maintainer): "Hey, could you not use that word? What |
| 212 |
about 'ridiculous' instead?" |
| 213 |
|
| 214 |
Alex: "oh sorry, sure." -> edits old comment to say "it was really |
| 215 |
confusing!" |
| 216 |
|
| 217 |
The Maintainer Case |
| 218 |
~~~~~~~~~~~~~~~~~~~ |
| 219 |
|
| 220 |
Sometimes, though, you need to get maintainers involved. Maintainers |
| 221 |
will do their best to resolve conflicts, but people who were harmed by |
| 222 |
something **will take priority**. |
| 223 |
|
| 224 |
Patt: "Honestly, sometimes I just really hate using $library and |
| 225 |
anyone who uses it probably sucks at their job." |
| 226 |
|
| 227 |
Alex: "Whoa there, could you dial it back a bit? There's a CoC thing |
| 228 |
about attacking folks' tech use like that." |
| 229 |
|
| 230 |
Patt: "I'm not attacking anyone, what's your problem?" |
| 231 |
|
| 232 |
Alex: "@maintainers hey uh. Can someone look at this issue? Patt is |
| 233 |
getting a bit aggro. I tried to nudge them about it, but nope." |
| 234 |
|
| 235 |
KeeperOfCommitBits: (on issue) "Hey Patt, maintainer here. Could you |
| 236 |
tone it down? This sort of attack is really not okay in this space." |
| 237 |
|
| 238 |
Patt: "Leave me alone I haven't said anything bad wtf is wrong with |
| 239 |
you." |
| 240 |
|
| 241 |
KeeperOfCommitBits: (deletes user's comment), "@patt I mean it. |
| 242 |
Please refer to the CoC over at (URL to this CoC) if you have |
| 243 |
questions, but you can consider this an actual warning. I'd |
| 244 |
appreciate it if you reworded your messages in this thread, since |
| 245 |
they made folks there uncomfortable. Let's try and be kind, yeah?" |
| 246 |
|
| 247 |
Patt: "@keeperofbits Okay sorry. I'm just frustrated and I'm kinda |
| 248 |
burnt out and I guess I got carried away. I'll DM Alex a note |
| 249 |
apologizing and edit my messages. Sorry for the trouble." |
| 250 |
|
| 251 |
KeeperOfCommitBits: "@patt Thanks for that. I hear you on the |
| 252 |
stress. Burnout sucks :/. Have a good one!" |
| 253 |
|
| 254 |
The Nope Case |
| 255 |
~~~~~~~~~~~~~ |
| 256 |
|
| 257 |
PepeTheFrog🐸: "Hi, I am a literal actual nazi and I think white |
| 258 |
supremacists are quite fashionable." |
| 259 |
|
| 260 |
Patt: "NOOOOPE. OH NOPE NOPE." |
| 261 |
|
| 262 |
Alex: "JFC NO. NOPE. @keeperofbits NOPE NOPE LOOK HERE" |
| 263 |
|
| 264 |
KeeperOfCommitBits: "👀 Nope. NOPE NOPE NOPE. 🔥" |
| 265 |
|
| 266 |
PepeTheFrog🐸 has been banned from all organization or user |
| 267 |
repositories belonging to KeeperOfCommitBits. |
| 268 |
|
| 269 |
Attribution |
| 270 |
----------- |
| 271 |
|
| 272 |
This Code of Conduct was generated using `WeAllJS Code of Conduct |
| 273 |
Generator <https://npm.im/weallbehave>`__, which is based on the |
| 274 |
`WeAllJS Code of Conduct <https://wealljs.org/code-of-conduct>`__, which |
| 275 |
is itself based on `Contributor |
| 276 |
Covenant <http://contributor-covenant.org>`__, version 1.4, available at |
| 277 |
http://contributor-covenant.org/version/1/4, and the LGBTQ in Technology |
| 278 |
Slack `Code of Conduct <http://lgbtq.technology/coc.html>`__. |