Skip to content

Commit 48d48ae

Browse files
authored
autoupdate (#285)
* autoupdate * fix build script * cleanup
1 parent 556527d commit 48d48ae

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
- id: check-toml
77
- id: check-merge-conflict
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.7.3
9+
rev: v0.8.4
1010
hooks:
1111
- id: ruff
1212
args: [--fix, --show-fixes]
@@ -21,7 +21,7 @@ repos:
2121
- id: pretty-format-toml
2222
args: [--autofix]
2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.13.0
24+
rev: v1.14.0
2525
hooks:
2626
- id: mypy
2727
args: [--strict, --ignore-missing-imports]
@@ -50,13 +50,13 @@ repos:
5050
types: [jupyter]
5151
additional_dependencies: [nbformat]
5252
- repo: https://github.com/executablebooks/mdformat
53-
rev: 0.7.18
53+
rev: 0.7.21
5454
hooks:
5555
- id: mdformat
5656
additional_dependencies:
5757
- mdformat-gfm
5858
- repo: https://github.com/kynan/nbstripout
59-
rev: 0.8.0
59+
rev: 0.8.1
6060
hooks:
6161
- id: nbstripout
6262
args: [--drop-empty-cells, --keep-count, --keep-output, --extra-keys, metadata.kernelspec]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# c3s2-eqc-quality-assessment
22

3-
> \[!WARNING\]
3+
> [!WARNING]
44
> Please note that this repository is used for development and review, so quality assessments should be considered work in progress until they are merged into the main branch
55
6-
> \[!NOTE\]\
6+
> [!NOTE]
77
> If anything is unclear with the templates, or if you encounter any problems, please report them at [GH164](https://github.com/ecmwf-projects/c3s2-eqc-quality-assessment/issues/164).
88
99
## Quick start

scripts/pre-build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_disclaimer(readme: Path) -> str:
1616
lines = readme.open()
1717
disclaimer = ['<div class="alert alert-block alert-warning">']
1818
for line in lines:
19-
if line.startswith(r"> \[!WARNING\]"):
19+
if line.startswith("> [!WARNING]"):
2020
for line in lines:
2121
if line.startswith(">"):
2222
disclaimer.append(line.removeprefix(">").strip())

0 commit comments

Comments
 (0)