Skip to content

Commit d8f7a52

Browse files
Merge pull request #37 from nsidc/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents 7f73d57 + 3729862 commit d8f7a52

File tree

10 files changed

+2630
-2526
lines changed

10 files changed

+2630
-2526
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ ci:
55

66
repos:
77
- repo: https://github.com/adamchainz/blacken-docs
8-
rev: "1.18.0"
8+
rev: "1.19.1"
99
hooks:
1010
- id: blacken-docs
1111
additional_dependencies: [black==24.*]
1212

1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: "v4.6.0"
14+
rev: "v5.0.0"
1515
hooks:
1616
- id: check-added-large-files
1717
- id: check-case-conflict
@@ -26,22 +26,22 @@ repos:
2626
- id: requirements-txt-fixer
2727
- id: trailing-whitespace
2828

29-
- repo: https://github.com/pre-commit/mirrors-prettier
30-
rev: "v3.1.0"
29+
- repo: https://github.com/rbubley/mirrors-prettier
30+
rev: "v3.5.3"
3131
hooks:
3232
- id: prettier
3333
types_or: [yaml, markdown, html, css, scss, javascript, json]
3434
args: [--prose-wrap=always]
3535

3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: "v0.5.6"
37+
rev: "v0.11.9"
3838
hooks:
3939
- id: ruff
4040
args: ["--fix", "--show-fixes"]
4141
- id: ruff-format
4242

4343
- repo: https://github.com/codespell-project/codespell
44-
rev: "v2.3.0"
44+
rev: "v2.4.1"
4545
hooks:
4646
- id: codespell
4747

@@ -51,13 +51,13 @@ repos:
5151
- id: shellcheck
5252

5353
- repo: https://github.com/abravalheri/validate-pyproject
54-
rev: "v0.18"
54+
rev: "v0.24.1"
5555
hooks:
5656
- id: validate-pyproject
5757
additional_dependencies: ["validate-pyproject-schema-store[all]"]
5858

5959
- repo: https://github.com/python-jsonschema/check-jsonschema
60-
rev: "0.29.1"
60+
rev: "0.33.0"
6161
hooks:
6262
- id: check-dependabot
6363
- id: check-github-workflows

CODE_OF_CONDUCT.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## 1. Our Commitment
44

5-
We are dedicated to fostering a respectful environment for everyone contributing to this project. We expect all participants to treat each other with respect, professionalism, and kindness.
5+
We are dedicated to fostering a respectful environment for everyone contributing
6+
to this project. We expect all participants to treat each other with respect,
7+
professionalism, and kindness.
68

79
## 2. Expected Behavior
810

@@ -21,15 +23,20 @@ The following behaviors will not be tolerated:
2123
- Sharing inappropriate content.
2224

2325
## 4. Reporting Violations
24-
If you experience or witness any behavior that violates this Code of Conduct, please report it by contacting the project maintainers. All reports will be reviewed confidentially.
26+
27+
If you experience or witness any behavior that violates this Code of Conduct,
28+
please report it by contacting the project maintainers. All reports will be
29+
reviewed confidentially.
2530

2631
## 5. Enforcement
27-
Violations of this Code of Conduct may result in actions such as warnings, temporary bans, or permanent exclusion from participation at the discretion of the maintainers.
32+
33+
Violations of this Code of Conduct may result in actions such as warnings,
34+
temporary bans, or permanent exclusion from participation at the discretion of
35+
the maintainers.
2836

2937
## Contact Info
30-
31-
Organization: National Snow and Ice Data Center¹
32-
Website: <https://nsidc.org/>
33-
Date last modified: 01-22-2025
38+
39+
Email: <[email protected]> Organization: National Snow and Ice Data Center¹
40+
Website: <https://nsidc.org/> Date last modified: 01-22-2025
3441

3542
¹Work performed under NASA contract 80GSFC23CA035.

0 commit comments

Comments
 (0)