Skip to content

Commit 3793b33

Browse files
pllimhamogueteq
authored
Adopt NumFOCUS code of conduct (#669)
* Adopt NumFOCUS code of conduct * Update verbiage on incident handling Co-authored-by: Hans Moritz Günther <[email protected]> * reorder to match NF CoC as written on CoC site * adjust to matche APE0 as discussed in coordination meeting 25 * add CoC examples adapted from old CoC and coordination meeting discussion * update CoC examples to ul * @pllim typo suggestions Co-authored-by: P. L. Lim <[email protected]> * add converse example at @pllim's suggestion * Update date to be consistent with APE 8 update * Update date to be consistent with APE 8 update --------- Co-authored-by: Hans Moritz Günther <[email protected]> Co-authored-by: Erik Tollerud <[email protected]>
1 parent 1cd660e commit 3793b33

File tree

2 files changed

+215
-66
lines changed

2 files changed

+215
-66
lines changed

code_of_conduct.html

Lines changed: 54 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -77,74 +77,62 @@
7777

7878
<h1 id="astropy-community-code-of-conduct">Astropy Community Code of Conduct<a class="paralink" href="#astropy-community-code-of-conduct" title="Permalink to this headline"></a></h1>
7979

80-
<p>The community of participants in open source Astronomy projects is made
81-
up of members from around the globe with a diverse set of skills,
82-
personalities, and experiences. It is through these differences that our
83-
community experiences success and continued growth. We expect everyone in
84-
our community to follow these guidelines when interacting with others both
85-
inside and outside of our community. Our goal is to keep ours a positive,
86-
inclusive, successful, and growing community.</p>
87-
88-
<p>As members of the community,</p>
89-
90-
<ul>
91-
92-
<li>We pledge to treat all people with respect and provide a harassment- and
93-
bullying-free environment, regardless of sex, sexual orientation and/or
94-
gender identity, disability, physical appearance, body size, race,
95-
nationality, ethnicity, and religion. In particular, sexual language and
96-
imagery, sexist, racist, or otherwise exclusionary jokes are not
97-
appropriate.</li>
98-
99-
<li>We pledge to respect the work of others by recognizing
100-
acknowledgment/citation requests of original authors. As authors, we pledge
101-
to be explicit about how we want our own work to be cited or
102-
acknowledged.</li>
103-
104-
<li>We pledge to welcome those interested in joining the community, and
105-
realize that including people with a variety of opinions and backgrounds
106-
will only serve to enrich our community. In particular, discussions relating
107-
to pros/cons of various technologies, programming languages, and so on are
108-
welcome, but these should be done with respect, taking proactive measure to
109-
ensure that all participants are heard and feel confident that they can
110-
freely express their opinions.</li>
111-
112-
<li>We pledge to welcome questions and answer them respectfully, paying
113-
particular attention to those new to the community. We pledge to provide
114-
respectful criticisms and feedback in forums, especially in discussion
115-
threads resulting from code contributions.</li>
116-
117-
<li>We pledge to be conscientious of the perceptions of the wider community
118-
and to respond to criticism respectfully. We will strive to model behaviors
119-
that encourage productive debate and disagreement, both within our community
120-
and where we are criticized. We will treat those outside our community with
121-
the same respect as people within our community.</li>
122-
123-
<li>We pledge to help the entire community follow the code of conduct, and
124-
to not remain silent when we see violations of the code of conduct. We will
125-
take action when members of our community violate this code such as
126-
contacting [email protected] (all emails sent to this address will be
127-
treated with the strictest confidence) or talking privately with the
128-
person.</li>
129-
130-
</ul>
131-
132-
<p>This code of conduct applies to all community situations online and
133-
offline, including mailing lists, forums, social media, conferences,
134-
meetings, associated social events, and one-to-one interactions.</p>
135-
136-
<p>Any related activity or project organized by members of the Astropy
137-
community, including affiliated packages, are welcome to have their own
138-
codes of conduct, but agree to also abide by the present code of
139-
conduct.</p>
140-
141-
<p>Parts of this code of conduct have been adapted from the PSF code of
142-
conduct.</p>
143-
144-
<p class="centered"><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />The Astropy Community Code of Conduct is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. We encourage other communities related to ours to use or adapt this code as they see fit.</p>
14580

146-
</section>
81+
<p>Since November 2025, the Astropy Project has adopted the NumFOCUS Code of Conduct, which is summarized below.
82+
For the previous version of the Astropy Code of Conduct, click <a href="code_of_conduct_old_astropy.html">here</a>.</p>
83+
84+
<hr/>
85+
86+
<h2>The Short Version</h2>
87+
88+
<p>Be kind to others. Do not insult or put down others. Behave professionally.
89+
Remember that harassment and sexist, racist, or exclusionary jokes are not
90+
appropriate for Astropy.</p>
91+
92+
<p>Astropy is dedicated to providing a harassment-free community for everyone,
93+
regardless of gender, sexual orientation, gender identity and expression, disability,
94+
physical appearance, body size, race, or religion. We do not tolerate harassment
95+
of community members in any form.</p>
96+
97+
<p>All communication should be appropriate for a professional audience including
98+
people of many different backgrounds. Sexual language and imagery is not appropriate.</p>
99+
100+
<p>Thank you for helping make this a welcoming, friendly community for all.</p>
101+
102+
<h2>The Long Version</h2>
103+
104+
<p>You can find the long version of the Code of Conduct on the
105+
<a href="https://numfocus.org/code-of-conduct">NumFOCUS website</a>.</p>
106+
107+
<h2>How To Report</h2>
108+
109+
<p>If you feel that the Code of Conduct has been violated, you can submit a report via the <a href="https://numfocus.typeform.com/to/ynjGdT?typeform-source=numfocus.org">NumFOCUS Code of Conduct Reporting Form</a>.
147110

111+
<h2>Who Will Receive Your Report</h2>
112+
113+
<p>Your report will be received and handled by NumFOCUS Code of Conduct Working Group;
114+
trained, and experienced contributors with diverse backgrounds. The group is making
115+
decisions independently from the project, PyData, NumFOCUS, or any other organization.</p>
116+
117+
<p>The Working Group will work with the Astropy Project's Ombudsperson to resolve an incident:
118+
The NumFOCUS Code of Conduct Working group will review the incident, and provide recommendations on how to handle this or what consequences or sanction might be appropriate. As per <a href="https://github.com/astropy/astropy-APEs/blob/main/APE0.rst">Astropy's governance charter</a>, the Astropy Ombudsperson along with the Coordination Committee will receive those recommendations and perform any actions necessary to address the concern.</p>
119+
120+
<h2>Examples</h2>
121+
122+
<p>To make this Code of Conduct more concrete, we provide here some hypothetical examples of how a Code of Conduct issue might arise that may be particular to our community:</p>
123+
124+
<ul>
125+
126+
<li>A member of the Astropy community might express a preference on an online forum for a specific tool or programming language (e.g., Python) over another language. If this preference is expressed as a personal preference or with reference to particular technical merits of that language vs. others, there is no violation of the Code of Conduct. However, if that member instead expresses this preference by way of insult to those who use another language, or via violent imagery directed at those other languages or its users, that would be an act of "tool shaming" and be a violation of the Code of Conduct.</li>
127+
128+
<li>If a member of the community knowingly uses a software tool or astronomical dataset in a public package or academic publication without acknowledging or citing the tool in a reasonable way requested by the upstream tool, this is a violation of the Code of Conduct. If the member makes a reasonable effort to find an acknowledgement and one is not available, this would not be a Code of Conduct violation (although it might or might not represent a violation of copyright law depending on the details of the situation and adopted license).</li>
129+
130+
<li>If an Astropy maintainer were to post a message in a public forum that is insulting an astronomy research community member's skills as a programmer, this would be a violation of the Code of Conduct, as the researcher is also a member of our community. Conversely, if a researcher insultingly rejected a maintainer's suggestion because the maintainer is not a scientist, this would be a violation by the researcher. If that same thing were stated in a meeting with other Astropy maintainers, it may or may not represent a code of conduct violation, depending on whether the intent is to insult vs. pointing out a skill lack in the community in a productive manner.</li>
131+
132+
</ul>
133+
134+
135+
</section>
148136

149137
<footer>
150138
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

code_of_conduct_old_astropy.html

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5+
<meta name="description" content="Astropy. A Community Python Library for Astronomy." />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<link rel="shortcut icon" href="favicon.ico" />
8+
9+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700' rel='stylesheet' type='text/css' />
10+
<link rel="stylesheet" type="text/css" href="css/style.css" />
11+
<link rel="stylesheet" type="text/css" href="css/jquery.sidr.light.css" />
12+
13+
<style>
14+
table.roles td {word-break:normal}
15+
</style>
16+
17+
<title>Astropy | Code of Conduct (old)</title>
18+
19+
<!-- Google analytics -->
20+
<script src="js/analytics.js"></script>
21+
</head>
22+
23+
<body>
24+
25+
<div id="wrapper">
26+
<nav>
27+
<div id="mobile-header">
28+
<!-- Menu Icon -->
29+
<a id="responsive-menu-button" href="#sidr-main"><div><svg senable-background="new 0 0 24 24" height="24px" id="Layer_1" version="1.1" viewBox="0 0 24 24" width="24px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g><g><path d="M23.244,17.009H0.75c-0.413,0-0.75,0.36-0.75,0.801v3.421C0,21.654,0.337,22,0.75,22h22.494c0.414,0,0.75-0.346,0.75-0.77 V17.81C23.994,17.369,23.658,17.009,23.244,17.009z M23.244,9.009H0.75C0.337,9.009,0,9.369,0,9.81v3.421 c0,0.424,0.337,0.769,0.75,0.769h22.494c0.414,0,0.75-0.345,0.75-0.769V9.81C23.994,9.369,23.658,9.009,23.244,9.009z M23.244,1.009H0.75C0.337,1.009,0,1.369,0,1.81V5.23c0,0.423,0.337,0.769,0.75,0.769h22.494c0.414,0,0.75-0.346,0.75-0.769V1.81 C23.994,1.369,23.658,1.009,23.244,1.009z"/></g></g></svg></div></a>
30+
<!-- -->
31+
</div>
32+
<a href="index.html"><img src="images/astropy_word.svg" height="32" onerror="this.src='images/astropy_word_32.png; this.onerror=null;"/></a>
33+
<div id="navigation">
34+
<ul>
35+
<li>
36+
<div class="dropdown">
37+
<a>About</a>
38+
<div class="dropdown-content">
39+
<ul>
40+
<li><a href="about.html">About Astropy</a></li>
41+
<li><a href="code_of_conduct.html">Code of Conduct</a></li>
42+
<li><a href="acknowledging.html">Acknowledging & Citing</a></li>
43+
<li><a href="history.html">History</a></li>
44+
</ul>
45+
</div>
46+
</div>
47+
</li>
48+
<li><a href="help.html">Get Help</a></li>
49+
<li><a href="contribute.html">Contribute</a></li>
50+
<li>
51+
<div class="dropdown">
52+
<a href="https://docs.astropy.org">Documentation</a>
53+
<div class="dropdown-content">
54+
<ul>
55+
<li><a href="https://docs.astropy.org" target="_blank">Current Release</a></li>
56+
<li><a href="https://astropy.readthedocs.io/en/latest/" target="_blank">In Development</a></li>
57+
</ul>
58+
</div>
59+
</div>
60+
</li>
61+
<li><a href="affiliated/index.html">Affiliated Packages</a></li>
62+
<li><a href="team.html">Team</a></li>
63+
<li><a href="credits.html">Credits</a></li>
64+
</ul>
65+
</div>
66+
<div class="search pull-right">
67+
<form action="https://docs.astropy.org/en/stable/search.html" method="get">
68+
<input type="text" name="q" placeholder="Search Documentation" />
69+
<input type="hidden" name="check_keywords" value="yes" />
70+
<input type="hidden" name="area" value="default" />
71+
</form>
72+
</div>
73+
</nav>
74+
75+
<section>
76+
<a name="codeofconductold"></a>
77+
78+
<h1 id="astropy-community-code-of-conduct-old">Astropy Community Code of Conduct (prior to November 2025)<a class="paralink" href="#astropy-community-code-of-conduct-old" title="Permalink to this headline"></a></h1>
79+
80+
<p><b>Astropy has switched to using NumFOCUS code of conduct, please see the
81+
<a href="code_of_conduct.html">current code of conduct</a>.</b></p>
82+
83+
<p>The community of participants in open source Astronomy projects is made
84+
up of members from around the globe with a diverse set of skills,
85+
personalities, and experiences. It is through these differences that our
86+
community experiences success and continued growth. We expect everyone in
87+
our community to follow these guidelines when interacting with others both
88+
inside and outside of our community. Our goal is to keep ours a positive,
89+
inclusive, successful, and growing community.</p>
90+
91+
<p>As members of the community,</p>
92+
93+
<ul>
94+
95+
<li>We pledge to treat all people with respect and provide a harassment- and
96+
bullying-free environment, regardless of sex, sexual orientation and/or
97+
gender identity, disability, physical appearance, body size, race,
98+
nationality, ethnicity, and religion. In particular, sexual language and
99+
imagery, sexist, racist, or otherwise exclusionary jokes are not
100+
appropriate.</li>
101+
102+
<li>We pledge to respect the work of others by recognizing
103+
acknowledgment/citation requests of original authors. As authors, we pledge
104+
to be explicit about how we want our own work to be cited or
105+
acknowledged.</li>
106+
107+
<li>We pledge to welcome those interested in joining the community, and
108+
realize that including people with a variety of opinions and backgrounds
109+
will only serve to enrich our community. In particular, discussions relating
110+
to pros/cons of various technologies, programming languages, and so on are
111+
welcome, but these should be done with respect, taking proactive measure to
112+
ensure that all participants are heard and feel confident that they can
113+
freely express their opinions.</li>
114+
115+
<li>We pledge to welcome questions and answer them respectfully, paying
116+
particular attention to those new to the community. We pledge to provide
117+
respectful criticisms and feedback in forums, especially in discussion
118+
threads resulting from code contributions.</li>
119+
120+
<li>We pledge to be conscientious of the perceptions of the wider community
121+
and to respond to criticism respectfully. We will strive to model behaviors
122+
that encourage productive debate and disagreement, both within our community
123+
and where we are criticized. We will treat those outside our community with
124+
the same respect as people within our community.</li>
125+
126+
<li>We pledge to help the entire community follow the code of conduct, and
127+
to not remain silent when we see violations of the code of conduct. We will
128+
take action when members of our community violate this code such as
129+
contacting [email protected] (all emails sent to this address will be
130+
treated with the strictest confidence) or talking privately with the
131+
person.</li>
132+
133+
</ul>
134+
135+
<p>This code of conduct applies to all community situations online and
136+
offline, including mailing lists, forums, social media, conferences,
137+
meetings, associated social events, and one-to-one interactions.</p>
138+
139+
<p>Any related activity or project organized by members of the Astropy
140+
community, including affiliated packages, are welcome to have their own
141+
codes of conduct, but agree to also abide by the present code of
142+
conduct.</p>
143+
144+
<p>Parts of this code of conduct have been adapted from the PSF code of
145+
conduct.</p>
146+
147+
<p class="centered"><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />The Astropy Community Code of Conduct is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. We encourage other communities related to ours to use or adapt this code as they see fit.</p>
148+
149+
</section>
150+
151+
152+
<footer>
153+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
154+
<script src="js/jquery.sidr.min.js"></script>
155+
<script src="js/functions.js"></script>
156+
</footer>
157+
158+
</div>
159+
160+
</body>
161+
</html>

0 commit comments

Comments
 (0)