Skip to content

Commit 2b051d9

Browse files
chore: point to pasteurlabs/mirror-prettier, add toml linting and pyproject.toml validation (#443)
#### Description of changes Point to frozen Pasteur-hosted mirror-prettier, this enables: * Support of prettier v3.7.4 which supports the prettier-plugin-toml for toml linting * Minimal maintenance and robust security as all updates would happen only on request Add validate pyproject pre-commit hook. We can add these to the pasteur-python-template once happy with here. #### Testing done - CI (including pre-commit on all files) passes --------- Co-authored-by: Dion Häfner <dion.haefner@simulation.science>
1 parent edddd34 commit 2b051d9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,12 @@ repos:
8282
'
8383
additional_dependencies: [uv==0.6.11, --isolated]
8484

85-
- repo: https://github.com/pre-commit/mirrors-prettier
86-
rev: v3.1.0 # Use the latest version
85+
- repo: https://github.com/pasteurlabs/mirrors-prettier
86+
rev: v3.7.4 # Use the latest version
8787
hooks:
8888
- id: prettier
89-
types_or: [json, yaml, markdown]
89+
types_or: [json, yaml, markdown, toml]
9090
exclude: CHANGELOG.md
91+
additional_dependencies:
92+
- prettier@3.7.4
93+
- prettier-plugin-toml@2.0.1

0 commit comments

Comments
 (0)