Skip to content

Commit

Permalink
Add typos to pre-commit in repo and project
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Feb 17, 2025
1 parent 28b5a2e commit 383c3d9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ repos:
rev: v2.4.1
hooks:
- id: codespell

- repo: https://github.com/crate-ci/typos
rev: v1.29.7
hooks:
- id: typos
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ The format is inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0

[Full changelog](https://github.com/dalito/linkml-project-copier/compare/v0.2.2...main)

### Added

- Typos integration with pre-commit (was only an gh-action before)

## Release [0.2.2] - 2025-02-17

[Full changelog](https://github.com/dalito/linkml-project-copier/compare/v0.2.2...v0.2.1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
name: Publish Python Package

# Publishes with trusted publishing toPublishes with trusted publishing toPublishes with trusted publishing toPublishes with trusted publishing toPublishes with trusted publishing to

# Publishes with trusted publishing to
# - PyPI on releases created in GitHub UI if status is published.
# For draft status, nothing happens.
Expand Down
5 changes: 5 additions & 0 deletions template/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ repos:
additional_dependencies:
- tomli

- repo: https://github.com/crate-ci/typos
rev: v1.29.7
hooks:
- id: typos

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.6
Expand Down

0 comments on commit 383c3d9

Please sign in to comment.