Skip to content

Commit 231f5cc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 290a154 commit 231f5cc

File tree

10 files changed

+66
-68
lines changed

10 files changed

+66
-68
lines changed

.all-contributorsrc

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
{
2-
"projectName": "CLAM",
3-
"projectOwner": "CLAM Contributors",
4-
"repoType": "github",
5-
"repoHost": "https://github.com",
6-
"files": [
7-
"README.md",
8-
"docs/index.md"
9-
],
10-
"imageSize": 100,
11-
"commit": false,
12-
"commitConvention": "angular",
13-
"contributors": [],
14-
"contributorsPerLine": 7,
15-
"skipCi": true,
16-
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)"
2+
"projectName": "CLAM",
3+
"projectOwner": "CLAM Contributors",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": ["README.md", "docs/index.md"],
7+
"imageSize": 100,
8+
"commit": false,
9+
"commitConvention": "angular",
10+
"contributors": [],
11+
"contributorsPerLine": 7,
12+
"skipCi": true,
13+
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)"
1714
}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.ipynb_checkpoints/
22
!docs/talks/assets
33
__pycache__
4-
.DS_Store
4+
.DS_Store

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
TODO
1+
TODO

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# CLAM Website
2+
23
[![All Contributors](https://img.shields.io/github/all-contributors/CLAM-community/CLAM-community.github.io?color=ee8449&style=flat-square)](#contributors)
34

45
**All the information about the CLAM Community (i.e., community mission, instructions to join the Zulip Community, contributing, governance) is visible on the [CLAM Community Website](https://clam-community.github.io).**

data/people.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
person:
2-
- name: Erik van Sebille
3-
roles: [steering, project-parcels]
4-
preferred_method_of_contact: Email
5-
socials:
6-
- platform: github
7-
url: https://github.com/erikvansebille
8-
9-
- name: Nick Hodgskin
10-
roles: [steering, project-parcels]
11-
preferred_method_of_contact: Zulip
12-
socials:
13-
- platform: github
14-
url: https://github.com/VeckoTheGecko
2+
- name: Erik van Sebille
3+
roles: [steering, project-parcels]
4+
preferred_method_of_contact: Email
5+
socials:
6+
- platform: github
7+
url: https://github.com/erikvansebille
158

9+
- name: Nick Hodgskin
10+
roles: [steering, project-parcels]
11+
preferred_method_of_contact: Zulip
12+
socials:
13+
- platform: github
14+
url: https://github.com/VeckoTheGecko

docs/assets/branding/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Different variants of the CLAM logo are provided which are suitable on both ligh
1212

1313
You can find the PNG assets in the `png` folder.
1414

15-
These are automatically generated from the `svg` assets using `pixi run python convert-png.py` when cd'ed into this folder. You need to have [Pixi](https://pixi.sh/dev/) installed.
15+
These are automatically generated from the `svg` assets using `pixi run python convert-png.py` when cd'ed into this folder. You need to have [Pixi](https://pixi.sh/dev/) installed.

docs/calendar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Calendar
22

3-
_Coming soon!_
3+
_Coming soon!_

docs/code-of-conduct.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ and guidelines that help create such a community.
1616

1717
Anyone who participates in a CLAM Community activity either online or in person is expected to show respect and courtesy to others in all interactions. These interactions may occur in a variety of locations including:
1818

19-
* in GitHub repositories
20-
* in our Zulip community (including direct messages)
21-
* during in-person events,
22-
* when representing the CLAM Community in public,
23-
* or in any event online or in person where CLAM is leading the event.
19+
- in GitHub repositories
20+
- in our Zulip community (including direct messages)
21+
- during in-person events,
22+
- when representing the CLAM Community in public,
23+
- or in any event online or in person where CLAM is leading the event.
2424

2525
To make sure that everyone has a common understanding of “show respect and courtesy to each other,” we have adopted the following code of conduct. The code of conduct is enforced by CLAM Moderators as well as the Steering Council.
2626

@@ -37,16 +37,18 @@ The following types of behaviour are unacceptable in CLAM spaces, both online an
3737
### Unwelcoming behaviour
3838

3939
#### Blatant acts and micro-aggressions
40+
4041
Blatant micro-aggressions involve making statements that assume
4142
negative characteristics in a blanket fashion because of someone's identification
42-
with a particular group. We take micro-aggressions seriously, especially
43+
with a particular group. We take micro-aggressions seriously, especially
4344
important when they target traditionally marginalized groups (e.g.,
4445
explicitly racist, sexist, homophobic, or transphobic statements).
4546

46-
> For example, arguing that some people are less intelligent because
47-
> of their gender, race, religion.
47+
> For example, arguing that some people are less intelligent because
48+
> of their gender, race, religion.
4849
4950
#### Repeated, subtle and unintentional micro-aggressions
51+
5052
Subtle acts of aggression refer to small, unintentionally harmful
5153
mistakes made in conversation. These acts are not necessarily a code of conduct
5254
violation when made by mistake.
@@ -57,6 +59,7 @@ out your micro-aggression is considered unwelcoming behaviour, and is not
5759
allowed in the CLAM Community.
5860

5961
#### Maliciousness towards other community members
62+
6063
Maliciousness towards other community members: deliberately attempting to
6164
make others feel bad, name-calling, singling out others for derision or
6265
exclusion. For example, telling someone they’re not a real programmer or that
@@ -69,7 +72,6 @@ reports from multiple CLAM users, team members, or collaborators of
6972
agitating, rude, or especially distracting behaviour over an extended period of
7073
time.
7174

72-
7375
## Scope in which the CLAM code of conduct is applied
7476

7577
CLAM community members are held to the standards outlined in this
@@ -91,7 +93,7 @@ impact on the individual community members involved as well as the impact
9193
on the community at large.
9294

9395
!!! NOTE
94-
96+
9597
When in doubt, please report unacceptable behaviour to us. If someone's behaviour make you feel unsafe within the CLAM space, we want to support and help you.
9698

9799
## Enforcement
@@ -109,18 +111,20 @@ We will follow this response protocol:
109111

110112
If we verify abusive behaviour:
111113

112-
* They will be removed from the CLAM Community
113-
<!-- * If applicable, their employment with CLAM will be terminated. -->
114-
* Their Zulip account will be deactivated, and
115-
* Permissions will be removed from any CLAM-related repositories and/or accounts.
114+
- They will be removed from the CLAM Community
115+
<!-- * If applicable, their employment with CLAM will be terminated. -->
116+
- Their Zulip account will be deactivated, and
117+
- Permissions will be removed from any CLAM-related repositories and/or accounts.
116118

117119
The person will not be welcome in any physical or digital spaces covered by the CLAM Code of Conduct.
118120

119121
### Enforcement related to unwelcome behaviour
122+
120123
If we verify unwelcome, but non-abusive behaviour, we will have a
121124
conversation with the person about their behaviour. The goal of the conversation will be to ensure that they understand the expectation that they not repeat the behaviour or other behaviors that would violate the Code of Conduct a second time.
122125

123126
### Response protocol steps
127+
124128
The CLAM Moderators and Steering Council will use the steps
125129
below to respond to reports of code of conduct violations.
126130

@@ -141,23 +145,25 @@ you wish to report to one of the Code of Conduct stewards specifically, email
141145
them directly.
142146

143147
### Current Moderators and Steering Council members
144-
Moderators and members of the Steering Council are visible on the home page of the CLAM website. You can contact them either via Zulip or via the contact details listed on the website.
145148

149+
Moderators and members of the Steering Council are visible on the home page of the CLAM website. You can contact them either via Zulip or via the contact details listed on the website.
146150

147-
### Why should I report code of conduct violations?
151+
### Why should I report code of conduct violations?
148152

149-
* You are a part of the CLAM community. Everyone in this community has a shared responsibility for making CLAM a safe and comfortable space. The CLAM Team and Executive Council members are active in the community, but given our communities size and the number of online spaces that we manage, it is easy to miss an incident that violates of code of conduct. We thus need your help to enforce the code of conduct.
153+
- You are a part of the CLAM community. Everyone in this community has a shared responsibility for making CLAM a safe and comfortable space. The CLAM Team and Executive Council members are active in the community, but given our communities size and the number of online spaces that we manage, it is easy to miss an incident that violates of code of conduct. We thus need your help to enforce the code of conduct.
150154

151-
* The consequences to our community, of not reporting bad behaviour outweigh the consequences for one person of reporting it. We sometimes hear “I don’t want X person to face consequences because I told someone about their bad behaviour.” You were likely not the only one impacted by this even. Consider the potential impact on others if this behaviour continues! We thank you in advance for reporting it to us.
155+
- The consequences to our community, of not reporting bad behaviour outweigh the consequences for one person of reporting it. We sometimes hear “I don’t want X person to face consequences because I told someone about their bad behaviour.” You were likely not the only one impacted by this even. Consider the potential impact on others if this behaviour continues! We thank you in advance for reporting it to us.
152156

153-
* CLAM is an open, participatory, community-driven community. Our community depends upon shared trust between community members. Reporting code of conduct violations helps us identify when this trust is broken. Your report helps us prevent the behaviour from happening again.
157+
- CLAM is an open, participatory, community-driven community. Our community depends upon shared trust between community members. Reporting code of conduct violations helps us identify when this trust is broken. Your report helps us prevent the behaviour from happening again.
154158

155159
## Code of conduct related notes
156160

157161
### When to seek help immediately
162+
158163
Instead of filling out a code of conduct violation report, please contact law enforcement directly to report criminal activity (e.g. physical assault, sexual assault, theft), or to report a dangerous physical situation (e.g. fire, serious injury, fear that someone will hurt themselves or someone else).
159164

160165
## License
166+
161167
The CLAM code of conduct is available under the terms of the CC0 license.
162168

163-
Significant parts of this code of conduct are adapted from the [pyOpenSci](https://www.pyopensci.org/handbook/CODE_OF_CONDUCT.html) and [2i2c](https://team-compass.2i2c.org/en/latest/code-of-conduct/index.html) Codes of Conduct - which are both under the [CCO license](https://creativecommons.org/share-your-work/public-domain/cc0/).
169+
Significant parts of this code of conduct are adapted from the [pyOpenSci](https://www.pyopensci.org/handbook/CODE_OF_CONDUCT.html) and [2i2c](https://team-compass.2i2c.org/en/latest/code-of-conduct/index.html) Codes of Conduct - which are both under the [CCO license](https://creativecommons.org/share-your-work/public-domain/cc0/).

docs/index.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
display: none;
55
}
66
</style>
7+
78
# Home
89

910
![CLAM Community](./assets/branding/svg/clam-full-white-buffer.svg)
@@ -13,11 +14,10 @@
1314
[Join us on Zulip]({{ zulip_url }}){ .md-button target="\_blank" }
1415
[Code of Conduct](./code-of-conduct.md){ .md-button target="\_blank" }
1516

16-
1717
## What is Zulip?
1818

1919
!!! note
20-
20+
2121
New to Zulip? The best way to discover it is just to have a
2222
poke around the space! Introduce
2323
yourself, message in the `sandbox` channel to test out
@@ -31,31 +31,26 @@ Zulip is an online platform that we use for the CLAM Community. It is similar to
3131

3232
Many communities such as [Conda Forge](https://conda-forge.zulipchat.com/) and [Jupyter](https://jupyter.zulipchat.com) are already on Zulip!
3333

34-
35-
3634
## Governance
3735

3836
The organisation, direction and moderation of CLAM is done by the governance team - which is split into three roles:
3937

4038
- **Steering Council:** These individuals make decision with respect to the direction of the community. They also may moderate conversation in the community according to the community Code of Conduct.
4139
- **Moderators:** These individuals moderate conversation in the community according to the community Code of Conduct.
42-
- **Project Representatives:** These individuals are representatives for the respective projects shown below. They have full control over the channels related to their project.
43-
40+
- **Project Representatives:** These individuals are representatives for the respective projects shown below. They have full control over the channels related to their project.
4441

4542
!!! note
4643

4744
This community was formed in 2025 after the [Parcels 10 Year event](https://parcels-code.org/blog/10year-event)
4845
which made it clear there is a need for such an online space to facilitate
49-
our science. As a result, the current governance structure has many members
46+
our science. As a result, the current governance structure has many members
5047
of the Parcels team. We value diversity - we would love to have your input discussing ideas
5148
to improve the community (e.g., event suggestions, community structure).
5249
Our hope is that as this space matures that the governance structure can
53-
become more diverse so that we can promote a wider range of ideas, and
50+
become more diverse so that we can promote a wider range of ideas, and
5451
be more representative of the community. We aim to raise this at the
5552
town hall at the Ocean Sciences Meeting in 2026.
5653

57-
58-
5954
### Steering Council
6055

6156
{{render_role_grid('steering')}}
@@ -72,7 +67,6 @@ _Projects are listed alphabetically._
7267

7368
{{render_role_grid('project-parcels')}}
7469

75-
7670
## Contributing
7771

7872
Here is a list of the people who have contributed to the project.
@@ -82,4 +76,4 @@ Here is a list of the people who have contributed to the project.
8276
<!-- markdownlint-disable -->
8377
<!-- markdownlint-restore -->
8478
<!-- prettier-ignore-end -->
85-
<!-- ALL-CONTRIBUTORS-LIST:END -->
79+
<!-- ALL-CONTRIBUTORS-LIST:END -->

main.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
from pydantic import BaseModel
1+
from pathlib import Path
22
from typing import Literal
3+
34
import yaml
4-
from pathlib import Path
5+
from pydantic import BaseModel
56

67
PLATFORM = Literal["zulip", "email", "github", "linkedin"]
78
DATA_FOLDER = Path("data")
@@ -34,7 +35,7 @@ class Person(BaseModel):
3435

3536
def to_card(self) -> str:
3637
return f""" - **{self.name}**
37-
38+
3839
---
3940
4041
({", ".join(social.get_markdown() for social in self.socials)})
@@ -65,7 +66,7 @@ def define_env(env):
6566

6667
@env.macro
6768
def render_role_grid(role: ROLE) -> str:
68-
"Render people with their roles"
69+
"""Render people with their roles"""
6970
return render_people_to_grid(
7071
[person for person in PEOPLE if role in person.roles]
7172
)

0 commit comments

Comments
 (0)