Add conventional-commits pre-commit hook by azmeuk · Pull Request #811 · authlib/authlib

Conversation

@azmeuk

What kind of change does this PR introduce?

This PR enforce conventional commits commit naming convention with a pre-commit hook.

This ensures we can then use python-semantic-release with correctly formatted commits.

Checklist

  • You ran the linters with prek.

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

lepture

args: [
"--verbose",
"--scope",
"client,authorization_server,resource_server,jose",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about scope with:

jose, oauth, oidc, client

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

lepture

@azmeuk azmeuk deleted the conventional-commits branch

August 28, 2025 16:51

2 participants

@azmeuk @lepture