Skip to content

4.8.3 candidate #1457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 80 commits into from
Jun 9, 2025
Merged
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
38f4438
refactor: improve readability and fix typos
bearomorphism May 15, 2025
529a6d3
refactor(version_scheme): cleanup
bearomorphism May 17, 2025
db885e7
refactor(commit): simplify call
bearomorphism May 17, 2025
292e7b9
test(commit): when nothing is added to commit
bearomorphism May 17, 2025
e8c7b0e
refactor(git): code cleanup and better test coverage
bearomorphism May 15, 2025
62183c7
test(git): add test for from_rev_and_commit
bearomorphism May 17, 2025
c10a95a
docs(git): from_rev_and_commit docstring
bearomorphism May 17, 2025
86323d7
refactor(EOLType): add eol enum back and reorganize methods
bearomorphism May 18, 2025
bdc82ae
refactor(git): refactor get_tag_names
bearomorphism May 18, 2025
d74e4fd
refactor(changelog): minor cleanup
bearomorphism May 19, 2025
3cd3b35
refactor(BaseConfig): use setter
bearomorphism May 20, 2025
d620aaa
build(poetry): upgrade mypy version to ^1.15.0
bearomorphism May 20, 2025
bb19549
refactor(bump): add type for out, replace function with re escape
bearomorphism May 17, 2025
dc2fd32
refactor(bump): clean up
bearomorphism May 16, 2025
11ddbfd
test(bump): improve test coverage
bearomorphism May 16, 2025
c27560c
fix(defaults): add non-capitalized default constants back and depreca…
bearomorphism May 22, 2025
e67d92b
refactor: misc cleanup
bearomorphism May 17, 2025
53e1edf
refactor(git): extract _create_commit_cmd_string
bearomorphism May 19, 2025
3897e1b
test(test_git): mock os
bearomorphism May 23, 2025
7c5c08b
refactor(cli): early return and improve test coverage
bearomorphism May 23, 2025
fea0fa0
build(termcolor): remove termcolor <3 restriction
bearomorphism May 23, 2025
40f3eb5
build: specify importlib-metadata version to fix unit tests
bearomorphism May 25, 2025
636013e
refactor(changelog): better typing, yield
bearomorphism May 24, 2025
b43498e
build(deps-dev): bump mypy to 1.16.0
gbaian10 May 31, 2025
8b9f60f
refactor(mypy): remove `unused-ignore`
gbaian10 May 31, 2025
e838ddf
refactor(cli.py): add type hints
gbaian10 May 31, 2025
aa9e1ab
refactor: add comment clarifying `no_raise` parsing to `list[int]`
gbaian10 May 31, 2025
c83ed87
refactor: remove `TypeError` handling since `Python >=3.9` is required
gbaian10 May 31, 2025
f21bf17
fix(deprecated): mark deprecate in v5
bearomorphism Jun 1, 2025
dcd8eb5
build(deps-dev): bump ruff
gbaian10 May 31, 2025
0b7f8ff
style(ruff): resolve F401
gbaian10 May 31, 2025
6abfb50
build(ruff): add RUF022 & RUF100 rules
gbaian10 May 31, 2025
76cd0c3
style(ruff): run `ruff check --fix`
gbaian10 May 31, 2025
1a0d288
refactor(BaseCommitizen): remove unused process_commit
bearomorphism May 30, 2025
7540bcf
style(tags): improve types
bearomorphism May 29, 2025
93c98b0
perf(tags): use set
bearomorphism May 29, 2025
e36febf
refactor: fix mypy output and better type
bearomorphism May 29, 2025
0ac3217
refactor(conventional_commits): remove unnecessary checks
bearomorphism May 29, 2025
ec976c1
refactor: make methods protected, better type
bearomorphism May 30, 2025
9406b55
style: type untyped methods
bearomorphism May 30, 2025
5c5f005
style: remove Union
bearomorphism May 30, 2025
23830f1
style: better type
bearomorphism May 30, 2025
d4ee14a
style: add `-> None` to __init__
bearomorphism May 30, 2025
af1b9c2
build(ruff,mypy): more strict rules
bearomorphism May 30, 2025
5d72c64
fix(BaseConfig): mypy error
bearomorphism May 31, 2025
8ab84d8
build(mypy): remove disallow_untyped_defs because it's already done b…
bearomorphism May 31, 2025
9223231
refactor(bump): TypedDict for bump argument
bearomorphism May 30, 2025
8f6d386
refactor(changelog): type untyped arguments
bearomorphism May 31, 2025
b840c45
refactor(check): remove unused argument
bearomorphism May 31, 2025
8a18460
style(bump): rename class for consistency
bearomorphism May 31, 2025
3fef02f
refactor(check): type CheckArgs arguments
bearomorphism May 31, 2025
1c30e7e
refactor(commit): type commit args
bearomorphism May 31, 2025
d273c02
refactor(commands): remove unused args, type version command args
bearomorphism May 31, 2025
8b3d17c
style(cli): shorten arg type
bearomorphism May 31, 2025
a22d028
docs(bump): comment on a stupid looking pattern
bearomorphism May 31, 2025
ffacc6e
fix(Check): make parameters backward compatiable
bearomorphism May 31, 2025
a710d6d
style(changelog): rename parameter for consistency
bearomorphism May 31, 2025
f67ad4c
refactor(bump): improve readability and still bypass mypy check
bearomorphism May 31, 2025
4aaddad
refactor: remove unnecessary bool() and remove Any type from TypedDic…
bearomorphism May 31, 2025
a512174
style(changelog): add TODO to fixable type ignores
bearomorphism Jun 4, 2025
f9d0834
style(cli): more specific type ignore
bearomorphism Jun 4, 2025
a440bbc
style(cli): rename kwarg to values
bearomorphism Jun 4, 2025
e5452e7
refactor(bump): use any to replace 'or' chain
bearomorphism Jun 6, 2025
a9cd957
perf(bump): avoid unnecessary list construction and rename variable t…
bearomorphism Jun 5, 2025
52be917
refactor(bump): eliminate similar patterns in code
bearomorphism Jun 7, 2025
542d46b
refactor(git): simplify tag logic
bearomorphism Jun 5, 2025
ca0f250
refactor(git): retype get_commits parameter to make it more friendly …
bearomorphism Jun 5, 2025
6faa8a8
refactor(bump): simplify nested if
bearomorphism Jun 5, 2025
b31e0cc
fix(commit): emit deprecated warning of cz commit -s
bearomorphism Jun 1, 2025
9320f7e
fix(cli): update description for deprecate warning
bearomorphism Jun 1, 2025
626e67c
refactor(questions): type questions with TypedDict
bearomorphism May 31, 2025
a272305
refactor(check): compile once and rename variable
bearomorphism May 30, 2025
a92dbe3
refactor: do not guess if changelog format is provided
bearomorphism May 30, 2025
965f34e
refactor(conventional_commits): make schema_pattern more readable
bearomorphism May 30, 2025
6cbe580
refactor(conventional_commits): use TypedDict for answers
bearomorphism May 30, 2025
56b113c
refactor(jira): refactor message
bearomorphism May 30, 2025
d968f26
style: replace dict with Mapping
bearomorphism May 30, 2025
7f41db3
ci(pyproject.toml): strict check for invalid commit messages
bearomorphism Jun 2, 2025
b2d1e92
docs(pyproject.toml): move check-commit before cover
bearomorphism Jun 2, 2025
79404a4
build: add PGH003 and PGH004, add types-colorama
bearomorphism Jun 8, 2025
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
Prev Previous commit
Next Next commit
style(ruff): resolve F401
  • Loading branch information
gbaian10 authored and Lee-W committed Jun 8, 2025
commit 0b7f8ffbe070c8d70a87fdfb6454e53c92bc4171
2 changes: 1 addition & 1 deletion commitizen/version_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
else:
import importlib_metadata as metadata

from packaging.version import InvalidVersion # noqa: F401: expose the common exception
from packaging.version import InvalidVersion # noqa: F401 (expose the common exception)
from packaging.version import Version as _BaseVersion

from commitizen.defaults import MAJOR, MINOR, PATCH, Settings
Expand Down