Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- --diff
- --check
- repo: https://github.com/PyCQA/pylint
rev: v3.3.2
rev: v3.3.3
hooks:
- id: pylint
args:
Expand All @@ -27,7 +27,7 @@ repos:
- pydantic~=2.10.4
- pydantic-yaml~=1.4.0
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
name: mypy
Expand All @@ -37,7 +37,7 @@ repos:
- pydantic~=2.10.4
- pydantic-yaml~=1.4.0
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
rev: v3.19.1
hooks:
- id: pyupgrade
args:
Expand All @@ -51,7 +51,7 @@ repos:
- --diff
- --check
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.8.1'
rev: 'v0.8.6'
hooks:
- id: ruff
name: ruff
Expand Down
14 changes: 7 additions & 7 deletions ptb_changelog_helper/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
class ChangeCategory(StrEnum):
"""This enum contains the categories for changes."""

MAJOR: str = "Major Changes"
MINOR: str = "Minor Changes"
NEW_FEATURES: str = "New Features"
BUG_FIXES: str = "Bug Fixes"
DOCUMENTATION: str = "Documentation Improvements"
INTERNAL: str = "Internal Changes"
DEPENDENCIES: str = "Dependency Updates"
MAJOR = "Major Changes"
MINOR = "Minor Changes"
NEW_FEATURES = "New Features"
BUG_FIXES = "Bug Fixes"
DOCUMENTATION = "Documentation Improvements"
INTERNAL = "Internal Changes"
DEPENDENCIES = "Dependency Updates"

@classmethod
def resolve_from_labels_and_types(
Expand Down
Loading