MCPcopy Create free account

hub / github.com/commitizen-tools/commitizen / functions

Functions1,032 in github.com/commitizen-tools/commitizen

Functionfilter_app_a_commits
Keep commits whose full message declares AppA.
tests/commands/test_changelog_command.py:99
Functionfilter_app_a_commits
Keep commits whose full message declares AppA.
tests/commands/test_version_command.py:334
Functionfilter_app_a_commits
Keep commits whose full message declares AppA.
tests/commands/test_bump_command.py:79
Functionfind_git_project_root
()
commitizen/git.py:301
Functionfixture
(source: str, destination: str)
tests/test_bump_update_version_in_files.py:22
Functionformat
(config: BaseConfig)
tests/test_changelog_format_asciidoc.py:106
Functionformat
(config: BaseConfig)
tests/test_changelog_format_markdown.py:106
Functionformat
(config: BaseConfig)
tests/test_changelog_format_restructuredtext.py:308
Functionformat_with_tags
(config: BaseConfig, request)
tests/test_changelog_format_textile.py:104
Functionformat_with_tags
(config: BaseConfig, request)
tests/test_changelog_format_asciidoc.py:111
Functionformat_with_tags
(config: BaseConfig, request)
tests/test_changelog_format_markdown.py:111
Functionformat_with_tags
(config: BaseConfig, request)
tests/test_changelog_format_restructuredtext.py:313
Functiongenerate_ordered_changelog_tree
( tree: Iterable[Mapping[str, Any]], change_type_order: list[str] )
commitizen/changelog.py:201
Functiongenerate_tree_from_commits
( commits: list[GitCommit], tags: list[GitTag], commit_parser: str, changelog_pattern: str,
commitizen/changelog.py:92
Methodget
(self, pyproject: tomlkit.TOMLDocument)
commitizen/providers/poetry_provider.py:18
Functionget_commits
Get the commits between start and end.
commitizen/git.py:207
Functionget_core_editor
()
commitizen/git.py:319
Functionget_default_branch
()
commitizen/git.py:354
Functionget_default_config_filename
()
commitizen/project_info.py:52
Functionget_default_version_provider
()
commitizen/project_info.py:25
Functionget_default_version_scheme
()
commitizen/project_info.py:56
Functionget_filenames_in_commit
Get the list of files that were committed in the requested git reference. :param git_reference: a git reference as accepted by `git show`, defaul
commitizen/git.py:224
Methodget_latest_full_release
Extract metadata for the last non-pre-release.
commitizen/changelog_formats/__init__.py:51
Methodget_metadata
Extract the changelog metadata.
commitizen/changelog_formats/__init__.py:45
Methodget_metadata_from_file
RestructuredText section titles are not one-line-based, they spread on 2 or 3 lines and levels are not predefined but determi
commitizen/changelog_formats/restructuredtext.py:14
Functionget_oldest_and_newest_rev
Find the tags for the given version. `version` may come in different formats: - `0.1.0..0.4.0`: as a range - `0.3.0`: as a single version
commitizen/changelog.py:336
Functionget_smart_tag_range
Smart because it finds the N+1 tag. This is because we need to find until the next tag
commitizen/changelog.py:310
Functionget_tag_message
(tag: str)
commitizen/git.py:287
Methodget_version
Get the current version
commitizen/providers/base_provider.py:31
Methodget_version
(self)
commitizen/providers/base_provider.py:74
Methodget_version
(self)
commitizen/providers/base_provider.py:95
Methodget_version
Get the current version from package.json
commitizen/providers/npm_provider.py:35
Functiongitcommits
()
tests/test_changelog.py:560
Methodignored_regexes
Regexes for known but ignored tag formats
commitizen/tags.py:100
Functionin_repo_root
(repo_root: Path)
tests/conftest.py:46
Functioninconsistent_python_version_file
(sample_file: SampleFileFixture)
tests/test_bump_update_version_in_files.py:41
Functioninfo
(value: object)
commitizen/out.py:32
Methodinfo
(self)
tests/conftest.py:258
Methodinfo
(self)
tests/conftest.py:284
Methodinfo
(self)
tests/commands/test_version_command.py:495
Methodinfo
(self)
tests/commands/test_check_command.py:517
Methodinit_empty_config_content
Create a config file with the empty config content. The implementation is different for each config file type.
commitizen/config/base_config.py:55
Functionis_git_project
()
commitizen/git.py:314
Functionis_pre_commit_installed
Return whether any supported hook installer is on PATH.
commitizen/project_info.py:20
Methodis_prerelease
Whether this version is a pre-release.
commitizen/version_schemes.py:69
Functionis_signed_tag
(tag: str)
commitizen/git.py:276
Functionis_staging_clean
Check if staging is clean.
commitizen/git.py:308
Methodlocal
The local version segment of the version.
commitizen/version_schemes.py:84
Methodlock_file
(self)
commitizen/providers/cargo_provider.py:28
Methodlock_file
(self)
commitizen/providers/npm_provider.py:28
Methodlock_file
(self)
commitizen/providers/uv_provider.py:21
Methodmajor
The first item of :attr:`release` or ``0`` if unavailable.
commitizen/version_schemes.py:89
Methodmessage
(self, answers: Mapping)
tests/conftest.py:244
Methodmessage
(self, answers: Mapping)
tests/conftest.py:272
Methodmessage
(self, answers)
tests/commands/test_version_command.py:483
Methodmessage
(self, answers: Mapping[str, Any])
tests/commands/test_check_command.py:505
Methodmessage
(self)
commitizen/git.py:78
Methodmicro
The third item of :attr:`release` or ``0`` if unavailable.
commitizen/version_schemes.py:99
Methodminor
The second item of :attr:`release` or ``0`` if unavailable.
commitizen/version_schemes.py:94
Functionmock_entrypoints
(**kwargs)
tests/test_factory.py:104
Functionmock_plugin
(mocker: MockerFixture, config: BaseConfig)
tests/conftest.py:289
Functionmultiple_line_breaker
(answer: str, sep: str = "|")
commitizen/cz/utils.py:18
Functionmultiple_versions_increase_string
(tmp_path: Path)
tests/test_bump_update_version_in_files.py:74
Functionmultiple_versions_reduce_string
(tmp_path: Path)
tests/test_bump_update_version_in_files.py:81
Functionmultiple_versions_to_update_poetry_lock
( sample_file: SampleFileFixture, request: FixtureRequest )
tests/test_bump_update_version_in_files.py:67
Functionnormalize_match
(match: re.Match[str])
tests/test_cli.py:26
Methodpackage_file
(self)
commitizen/providers/npm_provider.py:24
Methodparse_title_level
(self, line: str)
commitizen/changelog_formats/asciidoc.py:24
Methodparse_title_level
(self, line: str)
commitizen/changelog_formats/textile.py:22
Methodparse_title_level
(self, line: str)
commitizen/changelog_formats/markdown.py:25
Methodparse_version_from_title
(self, line: str)
commitizen/changelog_formats/asciidoc.py:17
Methodparse_version_from_title
(self, line: str)
commitizen/changelog_formats/textile.py:17
Methodparse_version_from_title
(self, line: str)
commitizen/changelog_formats/markdown.py:19
Methodpath
(self)
commitizen/config/base_config.py:35
Functionpre_commit_installed
(mocker: MockFixture)
tests/commands/test_init_command.py:123
Methodprerelease
The prerelease potion of the version is this is a prerelease.
commitizen/version_schemes.py:74
Methodprerelease
(self)
commitizen/version_schemes.py:161
Methodprerelease
(self)
commitizen/version_schemes.py:345
Functionprompt_mock_feat
(mocker: MockFixture)
tests/commands/test_commit_command.py:33
Methodpublic
The public portion of the version.
commitizen/version_schemes.py:79
Functionpyproject
(tmp_commitizen_project: Path)
tests/conftest.py:94
Functionpython_version
The current python version in '{major}.{minor}' format
tests/conftest.py:321
Functionpython_version_file
(sample_file: SampleFileFixture)
tests/test_bump_update_version_in_files.py:36
Methodquestions
(self)
tests/conftest.py:211
Methodquestions
(self)
tests/conftest.py:269
Methodquestions
(self)
tests/commands/test_version_command.py:480
Methodquestions
(self)
tests/commands/test_check_command.py:499
Functionrandom_location_version_file
(sample_file: SampleFileFixture)
tests/test_bump_update_version_in_files.py:46
Functionread_cfg
(filepath: str | None = None)
commitizen/config/__init__.py:34
Methodrelease
The components of the "release" segment of the version.
commitizen/version_schemes.py:64
Functionrender_changelog
( tree: Iterable, loader: BaseLoader, template: str, **kwargs: Any, )
commitizen/changelog.py:235
Functionrepo_root
()
tests/conftest.py:41
Functionrun
(cmd: str, env: Mapping[str, str] | None = None)
commitizen/cmd.py:68
Functionrun
(hooks: str | list[str], _env_prefix: str = "CZ_", **env: object)
commitizen/hooks.py:13
Functionrun_interactive
Run a command safely without shell interpretation and without redirecting stdin, stdout, or stderr Args: cmd: The command to run
commitizen/cmd.py:108
Functionrun_interactive_shell
Run a command without redirecting stdin, stdout, or stderr Args: cmd: The command to run env: Extra environment variables to defi
commitizen/cmd.py:133
Functionrun_shell
Run a command string via the system shell (shell=True). Only use this for cases that intentionally require shell features (e.g., user-defined
commitizen/cmd.py:95
Methodschema
(self)
tests/conftest.py:252
Methodschema
(self)
tests/conftest.py:278
Methodschema
(self)
tests/commands/test_version_command.py:489
← previousnext →301–400 of 1,032, ranked by callers