From 36a62e4fb019ce9aaf3f3a08e0d318c27c181ca0 Mon Sep 17 00:00:00 2001 From: Sean Stewart Date: Thu, 5 Sep 2024 09:20:53 -0400 Subject: [PATCH] build: update linters and fix commit command for changelog --- .pre-commit-config.yaml | 6 +++--- Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 043969b..eeb9192 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 ] @@ -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] diff --git a/Makefile b/Makefile index bac4ccb..c4bc65d 100644 --- a/Makefile +++ b/Makefile @@ -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