Skip to content

Commit

Permalink
build: update linters and fix commit command for changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
seandstewart committed Sep 5, 2024
1 parent f2d5b77 commit 36a62e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.10
rev: v0.6.3
hooks:
# Run the linter.
- id: ruff
Expand All @@ -12,7 +12,7 @@ repos:
types_or: [ python, pyi ]
args: [ --config=pyproject.toml ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.2
hooks:
- id: mypy
args: [ --config-file=pyproject.toml ]
Expand All @@ -24,7 +24,7 @@ repos:
- types-orjson
files: "src/.*"
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.2.0
rev: v3.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ alias ?= latest
changelog: ## Compile the latest changelog for the current branch.
@$(RUN_PREFIX) git-changelog
@git add docs/changelog.md
@git commit -m --allow-empty "[skip ci] Update changelog."
@git commit -m "[skip ci] Update changelog." --allow-empty
.PHONY: changelog

release-notes: ## Compile release notes for VCS
Expand Down

0 comments on commit 36a62e4

Please sign in to comment.